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 not been able to ping the gateway (router which slackbox is connected directly to).
I can ping lo (loopback) but nothing else.
The results of ifconfig -a displays all adapters and they appear to be detected, one even has an IP address assigned.
I ran netconfig, and I assign a manual IP address, however no adapters get this address after running netconfig.
eth0 has an IP addr, and subnet mask.
When I try to add a default gateway to the routing table I get:
"SIOCADDRT: Network is unreachable."
**Updated**
I edited /etc/rc.d/rc.inet1.conf and specified static IP's for all three of the adpaters including 2 hardwired NICS and 1 wireless NIC.
Afterwards I could connect directly to the router/gateway. I cannot however ping past the router. I'm sure I need to add some more routes to get out, but I assumed having the default gateway would takecare of everything.
I have not been able to ping the gateway (router which slackbox is connected directly to).
I can ping lo (loopback) but nothing else.
The results of ifconfig -a displays all adapters and they appear to be detected, one even has an IP address assigned.
I ran netconfig, and I assign a manual IP address, however no adapters get this address after running netconfig.
eth0 has an IP addr, and subnet mask.
When I try to add a default gateway to the routing table I get:
"SIOCADDRT: Network is unreachable."
**Updated**
I edited /etc/rc.d/rc.inet1.conf and specified static IP's for all three of the adpaters including 2 hardwired NICS and 1 wireless NIC.
Afterwards I could connect directly to the router/gateway. I cannot however ping past the router. I'm sure I need to add some more routes to get out, but I assumed having the default gateway would takecare of everything.
#ifconfig eth0 192.168.0.10 #set static IP
#route add default gw 192.168.0.1 #gateway route
#ping 192.168.0.1 #ping GW
#ping 64.233.187.99 #ping google IP
#ping google.com #ping google.com chk DNS
Make sure the system works statically then you can setup with the /etc/rc.d/rc.inet1.conf. When you have the configure file setup then run '/etc/rc.d/rc.inet1 restart' to init the inet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.