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.
Yes. Everything should be right. This is why I am wondering if there is another setting I should be looking at regarding security and firewall within the router. The router has a Linux kernel in it So it has got to be good!!!!!
I have reset the modem to original settings, and then re-entered everything relevant. Could these filters be the issue? If all settings are correct, I will play until I can get access.
Ping uses another protocol, but actually it's not a protocol problem.
To connect to somewhere using a name, like linuxquestions.org you've to know the IP address. To do that, there are DNS servers, which provide a table of associated names with IP numbers.
The problem seems your Linux box not using a DNS server (or nameserver) to resolve the IP, you could surf the web using only IP numbers (it's a ugly thing, I experienced it).
What if the nameserver value was my ISP's primary dns or second dns.
What really hurts is that the modem settings are in place and I am using Xp on the kiddies computer to do this. So the modem must work using static ip address' but my problem is within Slackware. Could it be a kernel option preventing this?
Thanks for all your replies. I am beggining to get an understanding of what I need to do with my setup.
on your xp machine see what the dns servers are. (bear with me while I try to remember how to do this). Open 'My Network Places' then 'View Network Connections' then double click on your network interface and it will bring up a window with 2 tabs. Click the one that says support at the top. Then click 'Details' and listed you should see all the info that is set for the interface. At the bottom of the list you'll see 'DNS Servers'. If its set to something besides 10.1.1.1(probably is) then write these down. Now on your slack box open /etc/resolv.conf and instead of 'nameserver 10.1.1.1' change it to 'nameserver <whatever>' newline 'nameserver <whatever>'. There's usually 2 nameservers given by ISP's. If you look on your modem configuration page you might find something that lists the interface it might also show what it has for dns servers listed in there as well.
Whilst compiling my kernel I noticed that ipv4 had nat support for a few items
Code:
CC net/ipv4/netfilter/ip_nat_helper.o
CC net/ipv4/netfilter/ip_nat_proto_unknown.o
CC net/ipv4/netfilter/ip_nat_proto_tcp.o
CC net/ipv4/netfilter/ip_nat_proto_udp.o
CC net/ipv4/netfilter/ip_nat_proto_icmp.o
I decided to check my modules. Down the bottom of /etc/rc.d/rc.modules I found
Code:
#IPV6 over IPV4
/sbin/modprobe ipv6
Once I commented this line out, I had full access as a static ip 10.1.1.2 Now The only issue I have is I need to issue
Code:
/etc/rc.d/rc.inet1 restart
in order to get internet access. What else can I do instead of adding this to rc.local??
Thanks everyone for your help. I reakon I can study some networking sites with a little more understanding
I don't think it is related if the netcard driver is a module or not
from what I read in rc.M script
Also I said that execute rc.inet1 without argument does nothing...
It is not true, I just see the default label *) which mean that
by default rc.inet1 will bring up all interfaces
So execute /etc/rc.d/rc.inet1 without argument or as
/etc/rc.d/rc.inet1 restart is technically correct, but the
restart option won't really restart interfaces settings
You have to do /etc/rc.d/rc.inet1 stop followed by a
/etc/rc.d/rc.inet1 start
That makes more sense. When switching from dhcp to static and back, I used the stop start switch. I used restart only at boot because I thought it had been called by rc.inetd during boot.
Now I have compiled the 8139too as a module. Start up is error free and the network is up automatically.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.