SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I don't know if I'm posting in the right forum or not, but I'm using Slackware so thought I'd start here.
I cannot access the internet. It stopped working two days ago and I have no idea why. Naturally, I want to fix it but I'd also like to know what caused it to stop working, if that's possible. I've been trying to get it working for two days and am making no progress at all, and really not learning much either, which really sucks. I've searched the forums for a solution but nothing I'm seeing gives any explanation at all why do take a certain step or why to use a certain command or look in a certain file. It's pretty frustrating. I'm not looking for a course in networking (at least not yet), but I would like to understand (or at least find out how to learn) how these things work - or don't work.
I don't know if I'm posting in the right forum or not, but I'm using Slackware so thought I'd start here.
I cannot access the internet. It stopped working two days ago and I have no idea why. Naturally, I want to fix it but I'd also like to know what caused it to stop working, if that's possible. I've been trying to get it working for two days and am making no progress at all, and really not learning much either, which really sucks. I've searched the forums for a solution but nothing I'm seeing gives any explanation at all why do take a certain step or why to use a certain command or look in a certain file. It's pretty frustrating. I'm not looking for a course in networking (at least not yet), but I would like to understand (or at least find out how to learn) how these things work - or don't work.
Thanks in advance for your insight,
fk
what have you looked at so far??
have you tried the ubiquitous ping command??
you haven't provided any info which we could use to help you...
I have tried ping and I get a message saying Destination Host Unreachable.
I typed /sbin ifconfig and it says /sbin is a directory. Was I supposed to change directories before typing that command? Sorry, I really don't understand what I'm supposed to being doing here and I don't know what info you need...
I have tried netconfig and put in the same setting that I did when I installed Slackware, which is going w/ the DHCP option. I also tried using the static IP option.
Location: Spittin' distance from the Chattahoochee
Distribution: rh9, fc3, knoppix
Posts: 11
Rep:
Quote:
Originally Posted by fortunekiller
Okay, thanks.
I have tried ping and I get a message saying Destination Host Unreachable.
I typed /sbin ifconfig and it says /sbin is a directory. Was I supposed to change directories before typing that command? Sorry, I really don't understand what I'm supposed to being doing here and I don't know what info you need...
I have tried netconfig and put in the same setting that I did when I installed Slackware, which is going w/ the DHCP option. I also tried using the static IP option.
Type the command exactly as tomdkat wrote. You missed a / and added a space.
Did you try to ping a domain name or an IP? (ie "ping linuxquestions.org" vs "ping 64.179.4.149")
If you can not do the first, but can do the second, it's a DNS issue. You may want to try running the following (explanation below):
Code:
ifconfig eth0 down
ifconfig eth0 up
dhcpcd eth0
The first line takes down your 'net card, the second re-initializes it, and the third asks for an IP address, which it will be able to do if it is connected to the internet.
The first line takes down your 'net card, the second re-initializes it, and the third asks for an IP address, which it will be able to do if it is connected to the internet.
Actually, if it is connected to a DHCP server.
Last edited by cwwilson721; 04-18-2006 at 09:04 PM.
When I tried to ping using the domain name, it said ping: unknown host http://www.linuxquestions.org. When I tried the IP address is said, connect: Network is unreachable.
I tried the commands listed but it did not supply an IP address.
# the default 'eth4'
# 1360 when you use NAT'ed IPSec traffic.
# your default gateway
# server
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV pramter (space-separated, see the
# example).
Your default gateway has not been set (see the "route -n" output) - that is bad.
The file "/etc/resolv.conf" does not contain the IP address(es) of a DNS server - that is bad.
I think (2) and (3) are caused by a change in the DHCP server on your network. Your configuration looks OK. The result of (2) is that you will not be able to connect to PC's that are not in your local LAN segment, and (3) will prohibit you from using hostnames when talking to other hosts (like, "ping www.linuxquestions.org" will not work).
Check your network's DHCP server. The fact that it gives you an IP address but not a default gateway, and no DNS addresses is weird. The file /etc/dhcpc/dhcpcd-eth0.info stores all the configuration information your PC has received from the DHCP server. Look for these lines:
where xxx.xxx.xxx.xxx should be the IP address of your gateway, and yyy.yyy.yyy.yyy and/or zzz.zzz.zzz.zzz are IP address(es) of DNS servers you can use. If they are missing, something is wrong on the server end. If they are present, then your PC has something twisted.
That looks alot different. Belkin is the name of the wireless router I was using before the internet stopped working. Now the ethernet goes right from the cable modem to this windows laptop for internet access.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.