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 have happily, recomplied my Slackware kernel! It is 3:32 a.m. and I'm so happy to be working on my box, and not sleeping, for some weird reason. But I digress.
Like I said, I have my kernel recomplied, and all of the wireless drivers, modules, etc have been loaded.
I am able to statically set my IP address, and DNS entries, for ath0. and uninstall iptables just as a troubleshooting step.
I am able to ping, 192.168.1.1, and I can browse the routers config page, via my wireless connection. Neat.
However, even if I enter my nameserver, via netconfig, /etc/resolv.conf, etc; nothing will resolve correctly, and I can't get out to the Internet(s) (joke).
Obviously, my ISP DNS is working (I can get to LQ from my windows machine), I'm on the LQ forums. Any ideas why I may not be able to resolve via DNS?
On my Windows box, I can route just fine. On my Slackware box, I can't.
I just checked my /etc/host.conf
it looks like
order host, bind
multi on
Is that correct? Just to clarify, All other machines, but my slackware box, are routing correctly.
Okay, from the slackware box, I logged into my router and updated my DHCP clients table. For some reason, my slackware machine is NOT showing up in the routers client table? Weird? But I AM able to get to the routers config page from my slackware machine.
1 traceroute to 192.168.1.105 (192.168.1.105) ,30 hops max,40 byte packet
2 192.168.1.105 (192.168.1.105) 10. 0 ms 0. 0 ms 10. 0 ms
Traceroute Complete.
PING 192.168.1.105 ( 192.168.1.105 ) : 56 data bytes
64 bytes from 192.168.1.105: icmp_seq=0, ttl=64 times=0. ms
64 bytes from 192.168.1.105: icmp_seq=1, ttl=64 times=0. ms
Request timed out. - it is wireless remember
64 bytes from 192.168.1.105: icmp_seq=3, ttl=64 times=0. ms
64 bytes from 192.168.1.105: icmp_seq=4, ttl=64 times=0. ms
--- 192.168.1.105 ping statistics ---
packets transmitted = 5 , packets received = 4 packet loss = 20%
round-trip min/avg/max = 0/0/0
Last edited by mikedeatworld; 11-28-2006 at 03:12 AM.
I'm not certain what you are saying doesn't work. One thing you haven't posted is your routes. What is the output of the /sbin/route command? Do you have a default route set? Can you ping other hosts or one of the ISP nameserver addresses. You said "my nameserver". Are you running your own nameserver?
I Can't route to the Internet, via URL (i.e. google.com).
I Can, ping my router, other machines on the network, and get a reply from them. I Can get to my router via the wireless connection that I am working from.
But I am unable to get to the Internet.
About the term nameserver - that is my settings for my ISP's DNS.
Does that help?
Thanks again!!!
Mike
Last edited by mikedeatworld; 11-28-2006 at 03:20 AM.
With a static IP address, you need to configure your default gateway. The netconfig command explicitly asks you for one, but your "route" output shows that none has been configured.
By a dhcp client such as dhcpcd (on Slackware we do not use dhclient by default) the gateway is automatically set.
PLease post contents of:
/etc/rc.d/rc.inet1.conf stripped of content (use the command cat /etc/rc.d/rc.inet1.conf | grep -v "^#" | grep -v "^$" to produce that) /etc/resolv.conf as you have them currently.
The netconfig command can not configure any other interface but eth0. For your ath0 interface you will have to do some manual work.
Did you require any wireless configuration (ESSID, channel, WEP/WPA key)?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.