LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-25-2010, 07:21 PM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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

please help
 
Old 02-25-2010, 09:00 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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 !
 
Old 02-25-2010, 09:11 PM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
thanks bgeddy

heres my ifconfig from 12.2 on PC I installed it to usb on

Code:
bash-3.1# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:d8:a4:a9:e9  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:d8ff:fea4:a9e9/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1970002 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1215011 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2794720831 (2.6 GiB)  TX bytes:82152984 (78.3 MiB)
          Interrupt:19 Base address:0xa800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
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??
 
Old 02-25-2010, 09:41 PM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 02-26-2010, 04:15 AM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
thanks again bgeddy

maybe its a rc.modules issue?

I replaced the reg slackware kernel and modules with slax 2.6.27.27 stuff
could this be why?

I cant remember in slack how to have auto dhcp,?!

also, what about my resolv.conf, does it auto change when I move usb to
another PC?
 
Old 02-26-2010, 04:59 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
First see if the module for your networkcard is present, and load the module
You can find modules in
Code:
/etc/rc.d/rc.modules
In
Quote:
/etc/rc.d/rc.inet1.conf
you can set
Code:
USE DHCP="yes"
DHCP_KEEPRESOLV[4]="yes"
So you need to know the hardware from the computer you use to boot the usb
 
1 members found this post helpful.
Old 02-26-2010, 05:34 AM   #7
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
1 members found this post helpful.
Old 02-26-2010, 06:09 AM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK

thanks guys I'll try all that

Repo, how is your Slackware experience going?

other day I got an update/upgrade to all my lenny installs
and now iceweasel and all my other browsers keep crashing?!
LOL

Slack is real stable I think

bgeddy thanks for all the info too
 
Old 02-26-2010, 08:08 AM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK

I can mark this semi-solved at least

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

thanks guys
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How come all other distros see eth0 and slack eth1 for the dsl modem/router svar Slackware 9 08-04-2009 09:15 AM
My Internet and Network are Down (eth0, eth1) alMubarmij Mandriva 2 02-19-2009 02:30 AM
CentOS 5.2: Only one of eth0 (internet) or eth1 (LAN) works Sinedie Linux - Networking 3 08-20-2008 04:52 AM
Dhcp eth0 and XP eth1 internet sharing props666999 Slackware 8 08-20-2005 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration