Re: [expert] Internet connection broken
The other day i was happy to be moved from one @home backbone to another, much faster one. As a result, my ip changed. Happily, none of my scripts (firewall, etc) are statically set up ip-wise, and so everything adjusted perfectly. Of course i'm using dhcp to obtain my ip, and that kept working too. If DHCP was working before @home changed ips on you, then it would work after also. Its functionality is absolutely not dependant on what ip it gets. It is therefore a given that whatever you changed in the configuration is the root of your problem (not that it's your fault, neccessarily, who knows, maybe some config utility didn't work properly). Go back and check everything over with a fine-tooth comb. And while you're at it, ask yourself why you had to change so much due to simple ip-change (which is itself automatic). In case it helps, i'll give you the shell code that grabs my current ip, whatever it is, and puts it in a variable which i can then reference throughout the script: eth0ip=`/sbin/ifconfig eth0 | awk '/addr:(.+)[:space:]/{print $2}' | sed 's/addr://'` There may well be a cleaner way of getting it. To be honest, i came up with that code quite awhile ago, and it was a real struggle - so there almost certainly is a cleaner, simpler way of getting it, but i just haven't had time to do it :-) By the way, doing ifconfig shows that your network card is not up, right? If it doesn't hang on the dhcp request, then that shows that the card is not being brought up properly - but it was before, right? So it's supported in your kernel, and the only difference between then and now is that you fiddled your configuation. Fiddle it back :-) I hope that helps and i hope you sort it out :-) j --- [EMAIL PROTECTED] wrote: The other day I was annoyed to find that ATT @Home cable had changed my IP address without my knowledge. I played around in Linuxconf and DrakProfile to change system settings to reflect that. Next time I booted up, my internet connection didn't work. Now whenever I try to make connections to remote sites, I get unknown host. Here's what bootup tells me: network: Setting network parameters: succeeded ifup: SIOCADDRT: Network is unreachable network: Bringing up interface lo: succeeded ifup: Delaying eth0 initialization. network: Bringing up interface eth0: failed I don't know why this would be. I've checked my settings in Windows, and it appears as if everything is the same in both systems. Other notes: NIC is enabled, to use DHCP. (is it System Control, the thing that shows devices and related info?)- Shows NIC to be properly configured HardDrak shows my card as it is, a Via-Rhine 10/100 PCI card. I tried running DrakProfile and getting that to set up my card. It said loading drivers for via-rhine card or something similar, then complained that my network card is not properly set up. Comments: This is a big pain in the butt. My system works great asides from this annoying lack of connectivity. I'm not going to make many Linux converts if I can't show them a system that works with the internet. I can also not read my POP mail. I miss KMail. If you can think of *anything* at all that would help, I would appreciate it. Thanks. Dan ICQ 4689648 __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Re: [expert] Internet connection broken, + dmesg output
The other day I was annoyed to find that ATT @Home cable had changed my IP address without my knowledge. I played around in Linuxconf and DrakProfile to change system settings to reflect that. Next time I booted up, my internet connection didn't work. Now whenever I try to make connections to remote sites, I get unknown host. You are complaining about a static address issue, yet below, you say you are using DHCP (DYNAMIC Host Configuration Protocol); which is it...? I'm pretty sure it's static. But I'm also pretty sure that my IP address has indeed changed. Is it possible for static IPs to do that? This is the first time it's changed ever (stayed the same for over a year, since we got cable installed). But I always did need to type DHCPCD -I C428830-A -h home. com go get the network running when I logged in. Then I put it in some startup script so I didn't need to keep typing it. DHCP leases an IP address; sounds like you've been getting the same IP address every time... just lucky I guess. Ok, here's what I've *heard*: My cable provider does provide static IPs. However, it _says_ they are dynamic to discourage people from running servers. How do people who don't need DHCP connect to the internet from Linux, what program/script do they use then? Here's what bootup tells me: network: Setting network parameters: succeeded ifup: SIOCADDRT: Network is unreachable network: Bringing up interface lo: succeeded ifup: Delaying eth0 initialization. network: Bringing up interface eth0: failed Have you checked your NETMASK? Uhh...What is that? Usually looks like 255.255.255.0 or somesuch; not important right now since you have other problems (below) I don't know why this would be. I've checked my settings in Windows, and it appears as if everything is the same in both systems. Other notes: NIC is enabled, to use DHCP. So changing your IP address should not have been an issue. I guess not. give us the output of: ifconfig loLink encap:Local Loopback# Is this bad news? :) inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:22 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 No, but the lack of an eth0 is... hmm... I must've forgot to ask for dmesg output... that might be useful since the ethernet appears to be missing... Here's dmesg: Linux version 2.2.17-21mdk ([EMAIL PROTECTED]) (gcc version 2.95.3 19991030 (prerelease)) #1 Thu Oct 5 13:16:08 CEST 2000 Detected 299290 kHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 598.02 BogoMIPS Memory: 62764k/65512k available (1136k kernel code, 416k reserved, 1068k data, 128k init, 0k bigmem) Dentry hash table entries: 8192 (order 4, 64k) Buffer cache hash table entries: 65536 (order 6, 256k) Page cache hash table entries: 16384 (order 4, 64k) VFS: Diskquotas version dquot_6.4.0 initialized CPU: L1 I Cache: 32K L1 D Cache: 32K CPU: AMD-K6(tm) 3D processor stepping 00 Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX PCI: PCI BIOS revision 2.10 entry at 0xf0200, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP TCP: Hash tables configured (ehash 65536 bhash 65536) Initializing RT netlink socket Starting kswapd v 1.5 Detected PS/2 Mouse Port. Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled ttyS01 at 0x02f8 (irq = 3) is a 16550A pty: 256 Unix98 ptys configured apm: BIOS version 1.2 Flags 0x03 (Driver version 1.13) Real Time Clock Driver v1.09 RAM disk driver initialized: 16 RAM disks of 4096K size Uniform Multi-Platform E-IDE driver Revision: 6.30 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ALI15X3: IDE controller on PCI bus 00 dev 78 ALI15X3: chipset revision 32 ALI15X3: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x7090-0x7097, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0x7098-0x709f, BIOS settings: hdc:DMA, hdd:pio hda: QUANTUM Bigfoot TX6.0AT, ATA DISK drive hdb: WDC WD205BA, ATA DISK drive hdc: ATAPI CD-ROM DRIVE 32X MAXIMUM, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: QUANTUM Bigfoot TX6.0AT, 5748MB w/69kB Cache, CHS=732/255/63, (U)DMA hdb: WDC WD205BA, 19574MB w/2048kB Cache, CHS=2495/255/63, (U)DMA hdc: ATAPI 32X CD-ROM drive, 128kB Cache
Re: [expert] Internet connection broken
I would say... open case, move sound card and network card to different PCI slots, close case and reboot, go into BOIS and disable P_N_P aware OS, boot into LINUX, , As root, run linuxconfig, from a console, and set up hardware and networking from there. then see what's up... maybe you have not set it all the way up again. - Original Message - From: Pierre Fortin [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Mandrake Expert [EMAIL PROTECTED] Sent: Saturday, May 05, 2001 11:28 PM Subject: Re: [expert] Internet connection broken [EMAIL PROTECTED] wrote: Mandrake folk: duplicate eth entries... though the core issue appears to be IRQ conflict. The other day I was annoyed to find that ATT @Home cable had changed my IP address without my knowledge. I played around in Linuxconf and DrakProfile to change system settings to reflect that. Next time I booted up, my internet connection didn't work. Now whenever I try to make connections to remote sites, I get unknown host. You are complaining about a static address issue, yet below, you say you are using DHCP (DYNAMIC Host Configuration Protocol); which is it...? I'm pretty sure it's static. But I'm also pretty sure that my IP address has indeed changed. Is it possible for static IPs to do that? This is the first time it's changed ever (stayed the same for over a year, since we got cable installed). But I always did need to type DHCPCD -I C428830-A -h home.com go get the network running when I logged in. Then I put it in some startup script so I didn't need to keep typing it. DHCP leases an IP address; sounds like you've been getting the same IP address every time... just lucky I guess. Here's what bootup tells me: network: Setting network parameters: succeeded ifup: SIOCADDRT: Network is unreachable network: Bringing up interface lo: succeeded ifup: Delaying eth0 initialization. network: Bringing up interface eth0: failed Have you checked your NETMASK? Uhh...What is that? Usually looks like 255.255.255.0 or somesuch; not important right now since you have other problems (below) I don't know why this would be. I've checked my settings in Windows, and it appears as if everything is the same in both systems. Other notes: NIC is enabled, to use DHCP. So changing your IP address should not have been an issue. I guess not. give us the output of: ifconfig loLink encap:Local Loopback# Is this bad news? :) inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:22 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 No, but the lack of an eth0 is... hmm... I must've forgot to ask for dmesg output... that might be useful since the ethernet appears to be missing... route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 127.0.0.0 0.0.0.0 255.0.0.0 U 0 00 lo Only a loopback address... to be expected since eth0 is not up; but this situation will not let any packets leave this machine. lsmod Module Size Used by parport_pc 7568 0 (autoclean) parport 7744 0 (autoclean) [parport_pc] lockd 32208 1 (autoclean) sunrpc 54640 1 (autoclean) [lockd] autofs 9456 2 (autoclean) cs4232 2960 0 ad1848 16848 0 [cs4232] uart401 6384 0 [cs4232] sound 58368 0 [cs4232 ad1848 uart401] soundlow 464 0 [sound] soundcore 2800 6 [sound] nls_cp437 3952 8 (autoclean) vfat9408 4 (autoclean) fat30432 4 (autoclean) [vfat] supermount 14224 2 (autoclean) No eth driver either. and the contents of: /etc/modules.conf alias net-pf-4 ipx pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start alias usb-interface usb-ohci alias parport_lowlevel parport_pc pre-install plip modprobe parport_pc ; echo 7 /proc/parport/0/irq alias sound-slot-0 cs4232 options sound dmabuf=1 alias midi opl3 options opl3 io=0x388 options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=10 #mpuirq _should be 11 options via-rhine irq=10 So the sound card is grabbing the eth interrupt... I'm not familiar with that card... need to see dmesg output... alias eth1 via-rhine #I think DrakProfile set this up. Ok to delete? Sure. I've seen other mails about duplicate eth entries; didn't pay attention to the details... I'm re-inserting expert list in case
Re: [expert] Internet connection broken
[EMAIL PROTECTED] wrote: The other day I was annoyed to find that ATT @Home cable had changed my IP address without my knowledge. I played around in Linuxconf and DrakProfile to change system settings to reflect that. Next time I booted up, my internet connection didn't work. Now whenever I try to make connections to remote sites, I get unknown host. You are complaining about a static address issue, yet below, you say you are using DHCP (DYNAMIC Host Configuration Protocol); which is it...? Here's what bootup tells me: network: Setting network parameters: succeeded ifup: SIOCADDRT: Network is unreachable network: Bringing up interface lo: succeeded ifup: Delaying eth0 initialization. network: Bringing up interface eth0: failed Have you checked your NETMASK? I don't know why this would be. I've checked my settings in Windows, and it appears as if everything is the same in both systems. Other notes: NIC is enabled, to use DHCP. So changing your IP address should not have been an issue. (is it System Control, the thing that shows devices and related info?)- Shows NIC to be properly configured HardDrak shows my card as it is, a Via-Rhine 10/100 PCI card. I tried running DrakProfile and getting that to set up my card. It said loading drivers for via-rhine card or something similar, then complained that my network card is not properly set up. OK... forget the GUIs; give us the output of: ifconfig route -n lsmod and the contents of: /etc/modules.conf /etc/resolv.conf /etc/sysconfig/network /etc/sysconfig/network-scripts/ifcfg-eth0 /proc/interrupts /proc/ioports Comments: This is a big pain in the butt. My system works great asides from this annoying lack of connectivity. I'm not going to make many Linux converts if I can't show them a system that works with the internet. I can also not read Most of us know this... Making this sort of comment may actually prevent helpful people from responding if they think they might have to debug not only a problem; but deal with an attitude. Just trying to help (not just you) **'nuf said**. Pierre my POP mail. I miss KMail. If you can think of *anything* at all that would help, I would appreciate it. Thanks. Dan ICQ 4689648 -- Support Linux development: http://www.linux-mandrake.com/donations/
Re: [expert] Internet connection broken
No, they're not DNS problems. Using actual IP addresses gives me network unreachable. Dan ICQ 4689648 Are you running a firewall that is using your old IP address? Have you tried connecting direct to an IP instead of a URL (dns problems?) BillK [EMAIL PROTECTED] wrote: The other day I was annoyed to find that ATT @Home cable had changed my IP address without my knowledge. I played around in Linuxconf and DrakProfile to change system settings to reflect that. Next time I booted up, my internet connection didn't work. Now whenever I try to make connections to remote sites, I get unknown host.
Re: [expert] Internet connection broken
[EMAIL PROTECTED] wrote: Mandrake folk: duplicate eth entries... though the core issue appears to be IRQ conflict. The other day I was annoyed to find that ATT @Home cable had changed my IP address without my knowledge. I played around in Linuxconf and DrakProfile to change system settings to reflect that. Next time I booted up, my internet connection didn't work. Now whenever I try to make connections to remote sites, I get unknown host. You are complaining about a static address issue, yet below, you say you are using DHCP (DYNAMIC Host Configuration Protocol); which is it...? I'm pretty sure it's static. But I'm also pretty sure that my IP address has indeed changed. Is it possible for static IPs to do that? This is the first time it's changed ever (stayed the same for over a year, since we got cable installed). But I always did need to type DHCPCD -I C428830-A -h home.com go get the network running when I logged in. Then I put it in some startup script so I didn't need to keep typing it. DHCP leases an IP address; sounds like you've been getting the same IP address every time... just lucky I guess. Here's what bootup tells me: network: Setting network parameters: succeeded ifup: SIOCADDRT: Network is unreachable network: Bringing up interface lo: succeeded ifup: Delaying eth0 initialization. network: Bringing up interface eth0: failed Have you checked your NETMASK? Uhh...What is that? Usually looks like 255.255.255.0 or somesuch; not important right now since you have other problems (below) I don't know why this would be. I've checked my settings in Windows, and it appears as if everything is the same in both systems. Other notes: NIC is enabled, to use DHCP. So changing your IP address should not have been an issue. I guess not. give us the output of: ifconfig loLink encap:Local Loopback# Is this bad news? :) inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:22 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 No, but the lack of an eth0 is... hmm... I must've forgot to ask for dmesg output... that might be useful since the ethernet appears to be missing... route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 127.0.0.0 0.0.0.0 255.0.0.0 U 0 00 lo Only a loopback address... to be expected since eth0 is not up; but this situation will not let any packets leave this machine. lsmod Module Size Used by parport_pc 7568 0 (autoclean) parport 7744 0 (autoclean) [parport_pc] lockd 32208 1 (autoclean) sunrpc 54640 1 (autoclean) [lockd] autofs 9456 2 (autoclean) cs4232 2960 0 ad1848 16848 0 [cs4232] uart401 6384 0 [cs4232] sound 58368 0 [cs4232 ad1848 uart401] soundlow 464 0 [sound] soundcore 2800 6 [sound] nls_cp437 3952 8 (autoclean) vfat9408 4 (autoclean) fat30432 4 (autoclean) [vfat] supermount 14224 2 (autoclean) No eth driver either. and the contents of: /etc/modules.conf alias net-pf-4 ipx pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start alias usb-interface usb-ohci alias parport_lowlevel parport_pc pre-install plip modprobe parport_pc ; echo 7 /proc/parport/0/irq alias sound-slot-0 cs4232 options sound dmabuf=1 alias midi opl3 options opl3 io=0x388 options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=10 #mpuirq _should be 11 options via-rhine irq=10 So the sound card is grabbing the eth interrupt... I'm not familiar with that card... need to see dmesg output... alias eth1 via-rhine #I think DrakProfile set this up. Ok to delete? Sure. I've seen other mails about duplicate eth entries; didn't pay attention to the details... I'm re-inserting expert list in case someone at Mandrake needs to see this situation first hand. alias eth0 via-rhine #This is what worked before /etc/resolv.conf search cdrrpd1.ia.home.com nameserver 24.2.240.33 nameserver 24.2.240.34 These resolve to proxy1 and proxy2.cdrrpd1.ia.home.com # ppp temp entry /etc/sysconfig/network NETWORKING=yes FORWARD_IPV4=no DHCP_HOSTNAME=C428830-A.cdrrpd1.ia.home.com HOSTNAME=C428830-A.cdrrpd1.ia.home.com DOMAINNAME=cdrrpd1.ia.home.com GATEWAY=24.22.240.1 The gateway has no DNS entry; but I can ping it; also, unusual that it would have an address outside your subnet (see my comment about IP
[expert] Internet connection broken
The other day I was annoyed to find that ATT @Home cable had changed my IP address without my knowledge. I played around in Linuxconf and DrakProfile to change system settings to reflect that. Next time I booted up, my internet connection didn't work. Now whenever I try to make connections to remote sites, I get unknown host. Here's what bootup tells me: network: Setting network parameters: succeeded ifup: SIOCADDRT: Network is unreachable network: Bringing up interface lo: succeeded ifup: Delaying eth0 initialization. network: Bringing up interface eth0: failed I don't know why this would be. I've checked my settings in Windows, and it appears as if everything is the same in both systems. Other notes: NIC is enabled, to use DHCP. (is it System Control, the thing that shows devices and related info?)- Shows NIC to be properly configured HardDrak shows my card as it is, a Via-Rhine 10/100 PCI card. I tried running DrakProfile and getting that to set up my card. It said loading drivers for via-rhine card or something similar, then complained that my network card is not properly set up. Comments: This is a big pain in the butt. My system works great asides from this annoying lack of connectivity. I'm not going to make many Linux converts if I can't show them a system that works with the internet. I can also not read my POP mail. I miss KMail. If you can think of *anything* at all that would help, I would appreciate it. Thanks. Dan ICQ 4689648