connect: Network is unreachable
I just installed slackware on my dell dimension 4300 that previously had a working copy of ubuntu on it. I didn't have any problems going through the install process. I have been following this guide: http://docs.slackware.com/slackware:beginners_guide and i'm at the part where where it tells me to do run these commands:
# slackpkg update gpg # slackpkg update and i get "unable to resolve host address 'ftp.mirrorservice.org'" and so I tried re-editing /etc/slackpkg/mirrors file again to choose a different mirror and it still doesn't connect to any mirrors. So I tried pinging a random ip and get "connect: Network is unreachable" so I ran netconfig and set it up as: hostname: dim4300 domainname: localhost configuration type: DHCP set DHCP hostname: and that didn't fix anything at all. Now i'm beyond my abilities. I do know that the internet worked in ubuntu, nothing has changed. I am trying to connect through a wired, DSL connection from a router. Thanks to anyone who can help.:D |
Quote:
Re-run netconfig using a different domain name (I use home.net.au, but the choice is yours). |
Rerunning netconfig changes the config files, but the changes won't actually take effect until you reboot, or run: sh /etc/rc.d/rc.inet1 restart
If that still doesn't do the trick, it's worth trying the NetworkManager option in netconfig. It works here. :) |
^^ :-)
Thanks boss! @clubslacker - You are very privileged. That is "The Man" himself. |
@volkerdi, wow thank you for stopping by :D
ok i changed in netconfig: hostname: dimhostname domain name: dimdomain teh rest: use DHCP server then i ran "sh /etc/rc.d/rc.inet1 restart" I still get: failed: temporary failure in name resolution. wget: unable to resolve host address 'ftp.mirrorservice/org' thank you guys for fast replies |
ok, now i have tried the networkmanager option in netconfig, and i did sh /etc/rc.d/rc.inet1 restart again after i changed the setting. Still no cigar.
|
Try re-booting so that the hardware is reinitialised.
|
Quote:
|
Can you ping your router?
Code:
ping -c2 <IPaddress of router> On my setup I see Code:
nameserver 10.1.1.1 Has your network card got an IP address? Code:
/sbin/ifconfig |
stand by
|
1.
i ping -c2 192.168.1.1 and got: connect: Network is unreachable (i tested simply pinging 192.168.1.1 from my windows 7 laptop and it works fine.) 2. i ran # nano /etc/resolv.conf and all it says is "search dimdomain" 3. i ran /sbin/ifconfig... I do not really see where it does, or does not show my network card ip address? I can see stuff, but I don't know what most of it means.... I do not see any 192.x.x.x. numbers. I do see 127.0.0.1 netmask 255.0.0.0 inet6 ::1 etc |
Quote:
It appears that your network card is not up and working. The output of ifconfig should show lines like this Code:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 The next line starting inet are network parameters that should be supplied by DHCP from your router. Please post the output of Code:
/sbin/ifconfig -a Also please post the output of Code:
/sbin/lspci | grep Ethernet |
please keep in mind i am transcribing these out by hand: :D
root@dimhostname:~# /sbin/ifconfig -a lo: flags=73<UO,LOOPBACK,RUNNING> mtu 16436 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 overruns 0 frame 0 tx packets 0 bytes 0 (0.0B) tx errors 0 droppped 0 overruns 0 carrer 0 colisions 0 root@dimhostname:~# /sbin/lspci | Ethernet 02:09.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev31) |
Quote:
Check the output of 'lsmod'. It may be that the tulip.ko kernel module is being loaded. If you see 'tulip' then try Code:
rmmod tulip |
It seems that the dmfe.ko kernel module is blacklisted in Slackware by default.
From /lib/modprobe.d/tulip.conf Code:
############################################################################## Code:
# blacklist dmfe |
All times are GMT -5. The time now is 04:29 AM. |