[SOLVED] Internet Problem with slack 12.2/13 off USB, loop but no eth0/eth1, please help?!
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.
Internet Problem with slack 12.2/13 off USB, loop but no eth0/eth1, please help?!
Hey peeps!
I remember having this issue once before but cant remember how I fixed it
2 problems really
I installed Slack 12.2, 13.0, and Absolute 13.0.9 to 3 usb's
12.2 I used Linux Live scripts to make a live distro
13 and absolute both are direct hdd installs to usb
all three have eth0/eth1 auto dhcp at boot on the PC they were made on
on my other 2 PC's, all three fail at auto eth0 and just have loop? connection, no internet
All 3 PC's are all connected to same Linksys wireless-G router with land line only connection direct to verizon modem
What could be the issue?
On PC they were all made on, great connection at boot
on all others no connection, just loop
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
A few things - firstly does ifconfig -a show the interface ? If so try bringing it up with a static IP (ifconfig eth0 up 192.168.1.10 - or something like that). Man ifconfig will help - I can't remember the exact syntax as I always use dhcp. If this all works try and ping the router from the static ip (obviously bring this interface up with an ip off the subnet off the dynamic range of the router). Then you can try messing with dhcpcd and getting all ip's from the router's dhcp service.
Basically whenever I have problems like this I break it down into logical steps. No ip via dhcp - bring it up statically and ping the router. Set the gateway address and ping google.com - and so on. Usually It all works. Only real headaches I've had have been getting WPA1/2 working with wireless in the days of ndiswrapper and the like - nasty !
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
thats great, however
when I boot off any other PC all I have is the loopback
no ethernet at all, disabled
I dont wanna have to manually setup internet when I boot from any PC
isnt there a way to have auto dhcp at all times and places??
You should be OK with this - the trouble is you don't know what ,(if any), network devices you will have i.e. will the right modules be loaded, (should be OK), and what will it be called (eth0,eth1,eth-whatever). In effect this means you may well have some configuring to do if you want to run a network on any platform (box). The idea of a USB key that you can just plug-in to any unknown box and have it get network access without configuration is a bit much I think. There are steps you may take to make sure most bases are covered but there will always be outside cases that fail.
If, however, you have specific target hardware in mind then it becomes a lot easier.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Apologies if you already have studied this - but Alien Bob's network setup is pretty much essential reading for setting up your network and may well help you.
I edited /etc/rc.d/rc.inet1.conf and put yes for eth0-eth3
and the keepresolv thing
and it works great as eth1 is what the other PC sees it as
the one I made the stuff on is eth0 I guess
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.