Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: fagga
  • Order by date
  1. fagga

    Name of constant in variable

    Yes, this works fantastic. Thank you all very much for your help. I'm highly satisfied.
  2. fagga

    Name of constant in variable

    Well, if I try this, it print's 'bar'. But in your example 'bar' is the name of the constant and I need the value. constant ANSWER => 42; # some constant $name_of_constant = 'ANSWER'; # $name_of_constant contains 'ANSWER', not '42' print magic($name_of_constant); # prints magically...
  3. fagga

    Name of constant in variable

    Good day, is there any way to store the name of a constant (not the value) in a variable and access the value of this constant through the variable? For example, if I had a constant named FOO. my $var = 'FOO'; # FOO contains "bar" print $var; # should print "bar", prints "FOO" I know...
  4. fagga

    Count characters in string

    This is even better. I'm impressed. Thank you even more for your help.
  5. fagga

    Count characters in string

    I'm very sorry. And it works great. Thank you very much again.
  6. fagga

    Count characters in string

    Thank you very much for your answer but it doesn't help. It is important to count only the underscores with no backslash in front of it. I'm writing a chat program and everything between two underscores is printed bold. But if the user supplies only one underscore the whole chat output would be...
  7. fagga

    Count characters in string

    Hello, I want to count underscores in a string. I already found a solution: $underscore_count = ($string =~ tr/_//); This works fine, but I would like to count only underscores which are not preceded by a backslash. So, for example, in the string "foo_bar_bar\_foo" $underscore_count would be...
  8. fagga

    Ethernet card gets no IP-Address

    If your ethernet card ist detected correctly and you are just getting no IP, it is not the same problem. My problem was, that Windows could not detect the ethernet card without these mainboard drivers. After I installed the drivers, Windows detected the card and I got an IP address and...
  9. fagga

    Ethernet card gets no IP-Address

    Finally it works. I installed some drivers for my mainboard, among others one called "IRQ Routing Driver", and now now everything works perfectly. Thanks again for the help, bye.
  10. fagga

    Ethernet card gets no IP-Address

    The board is a K6BV3+ with an Award BIOS and if I understand it right it's only possible to assign an IRQ to ISA or to PCI and to assign an IRQ to a PCI slot. But it looks to me like Windows doesn't care about these settings.
  11. fagga

    Ethernet card gets no IP-Address

    Yes, I think this would help but how can I remove this ability?
  12. fagga

    Ethernet card gets no IP-Address

    Yes, it's a RealTek RTL8029 for sure and I use the latest drivers from the RealTek website. I just played a few hours around with removing cards and putting them back in and so on. Once I got it and Windows really saw the NIC after I told Windows in Safe Mode the right IRQ. The network worked...
  13. fagga

    Ethernet card gets no IP-Address

    There seems to be no way to tell Windows which IRQ the soundcard is using but I gave the PCI slot of the soundcard the right IRQ so everything in the device manager is all right now and there are no conflicts. It even looks like Windows doesn't freeze anymore while it's booting. But there is...
  14. fagga

    Ethernet card gets no IP-Address

    I thank you all so much for your help but it doesn't work. I just tried to remove the NIC from the device manager and let Windows redetect it - with no effect. So I removed the NIC from the computer, reinstalled Windows without the NIC and build it in again. Always the same. But I have another...
  15. fagga

    Ethernet card gets no IP-Address

    Why could Windows not store my changes in the registry if it is on the same computer as a Linux installtion? It doesn't even know that there's Linux on another partition. I have a boot manager (lilo) installed, so I can decide on each boot process which OS I want to start. Since the ethernet...
  16. fagga

    Ethernet card gets no IP-Address

    The subnet mask is 255.255.255.0 and the IP-Address is 192.168.1.19 or anything else at the end. The router is 192.168.1.1. There are no other hosts on the network. But I think the network itself isn't really important at this point, because if the network device has no IP address it can't see...
  17. fagga

    Ethernet card gets no IP-Address

    I can supply an IP address but it has completely no effect. Normally, when I have an ethernet card and I start 'winipcfg' it should show me the IP and some other information. But this is not the case. 'winipcfg' reacts as if I had no ethernet card in my computer. But on the other hand Windows...
  18. fagga

    Ethernet card gets no IP-Address

    I think it should be enough to specify an IP address in the TCP/IP properties for the ethernet card. But it should also work if I leave it on the standard DHCP setting ("Obtain an IP address automatically") as I have a DHCP server running. Shouldn't this be enough to get the ethernet...
  19. fagga

    Ethernet card gets no IP-Address

    Yes, everything is installed and should work. I have the same Windows version running under VMware under Linux and it works perfectly with the same configuration. There is the Client for Microsoft Networks, the Ethernet Card (RealTek 8029) and the TCP/IP protocol. But when I start 'winipcfg' or...
  20. fagga

    Ethernet card gets no IP-Address

    Hi there, I would like to connect my Windows 98 SE workstation over an ethernet network to my Linux router but the ethernet card in my Windows workstation never gets an IP address assigned. Not if I assign it on my own directly, nor if I specify to get an IP address automaticaly from the...

Part and Inventory Search

Back
Top