Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
02-16-2007, 08:05 PM
|
#1
|
LQ Newbie
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16
Rep:
|
openSuSE won't connect to the internet
I just installed openSuSE, and a little while ago I restarted it for the first time... And lost internet.
It seems to recognize my modem just fine... But it won't connect. I have a cable modem, a Vonage router, and an Ethernet card (I forget the brand and model). Knoppix (which is what I'm using right now) sees and uses the set up just fine.
I've tried.... a great many things. Unhooking the setup, resetting the modem and the router configuration, restarting the computer, turning it off and then on... As per another thread's suggestion, I tried dhclient eth0, to see if it had gotten stuck with a static IP (because it recognizes the modem, starts the firewall, and disables IP forwarding at startup), and I checked the config, but no go. dhclient isn't recognized as a valid command, and it's not set to a static IP.
I had another post that made a lot more sense than this one. And then I tried to fix it again, so I scrapped it, and, well. Trying to fix this is wearing on my cognitive abilities. If there's any information you need, let me know, and I'll get it. You'll have to tell me how to get it, though, as I'm still kind of new to Linux.
Edit: Problem solved! You can see post #17 for details... sorta. Thank you all so much for your help.
Last edited by lady_chance; 02-23-2007 at 08:28 AM.
|
|
|
02-17-2007, 11:22 AM
|
#2
|
Member
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419
Rep:
|
What is the output of
ifconfig
and
route
That will be a good starting point. Also, if you have a file at
/etc/sysconfig/network-scripts/ifcfg-eth0, the contents of that will help. Essentially I'm looking for your IP address, subnet mask, and default gateway.
|
|
|
02-17-2007, 01:30 PM
|
#3
|
LQ Newbie
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16
Original Poster
Rep:
|
... I get a feeling this didn't go like it ought to have:
Code:
rhiannon@linux-7e7j:~> ifconfig
bash: ifconfig: command not found
rhiannon@linux-7e7j:~> route
bash: route: command not found
And there's no ifcfg-eth0.
|
|
|
02-17-2007, 05:58 PM
|
#4
|
LQ Newbie
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16
Original Poster
Rep:
|
Had a thought and tried the commands as root:
Code:
linux-7e7j:~ # ifconfig
linux-7e7j:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
But that's all it gave me. I'm thinking about trying the ethernet card built into my modem- it works on Windows, but FC6 didn't like it. I'm curious if it might work with SuSE.
|
|
|
02-18-2007, 09:38 AM
|
#5
|
Member
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419
Rep:
|
Yes, I'm sorry, I should have mentioned that would have to be run as root. It looks like you have no Ethernet card installed.
|
|
|
02-18-2007, 01:06 PM
|
#6
|
LQ Newbie
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16
Original Poster
Rep:
|
But it configures the ethernet card in YaST. I can provide a screenshot of this. And it did, when I first installed the OS, allow me to use this card and connect to the internet... It was only after rebooting the computer that the problems arose.
|
|
|
02-18-2007, 01:48 PM
|
#7
|
Member
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239
Rep:
|
YaST may have configured the ethernet card, but looks to me it did not start the network services. Even without a NIC if network starts, you should at least see a 'lo' interface with IP 127.0.0.1. I have not used SuSE in 10 years so not sure of the exact command, but as root try /etc/init.d/network start or /etc/rc.d/init.d/network start.
Perhaps some of our SuSE buddies can provide the specific command.
|
|
|
02-18-2007, 03:41 PM
|
#8
|
LQ Newbie
Registered: Dec 2006
Location: NW, Georgia
Distribution: Fedora
Posts: 12
Rep:
|
/etc/init.d/network start should work for 10.2
You can do a chkconfig --list | grep network for the startup parameters. 2,3,5 should be on.
|
|
|
02-18-2007, 04:36 PM
|
#9
|
LQ Newbie
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16
Original Poster
Rep:
|
Rather long bit here, be warned:
Code:
linux-7e7j:~ # /etc/init.d/network start
-bash: /etc/init.d/network: No such file or directory
linux-7e7j:~ # chkconfig --list | grep network
linux-7e7j:~ # chkconfig --list
SuSEfirewall2_init 0:off 1:off 2:off 3:off 4:off 5:off 6:off B:on
SuSEfirewall2_setup 0:off 1:off 2:off 3:on 4:on 5:on 6:off
aaeventd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
acpid 0:off 1:off 2:on 3:on 4:off 5:on 6:off
alsasound 0:off 1:off 2:on 3:on 4:off 5:on 6:off
apache2 0:off 1:off 2:off 3:off 4:off 5:off 6:off
atd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
auditd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
autofs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
autoyast 0:off 1:off 2:off 3:off 4:off 5:off 6:off
bluetooth 0:off 1:off 2:off 3:off 4:off 5:off 6:off
boot.apparmor 0:off 1:off 2:on 3:on 4:off 5:on 6:off B:on
cron 0:off 1:off 2:on 3:on 4:off 5:on 6:off
cups 0:off 1:off 2:on 3:on 4:off 5:on 6:off
cupsrenice 0:off 1:off 2:off 3:off 4:off 5:on 6:off
dbus 0:off 1:off 2:on 3:on 4:off 5:on 6:off
earlygdm 0:off 1:off 2:off 3:off 4:off 5:off 6:off
earlykbd 0:off 1:off 2:off 3:off 4:off 5:on 6:off
earlykdm 0:off 1:off 2:off 3:off 4:off 5:on 6:off
earlysyslog 0:off 1:off 2:off 3:off 4:off 5:on 6:off
esound 0:off 1:off 2:off 3:off 4:off 5:off 6:off
evms 0:off 1:off 2:off 3:off 4:off 5:off 6:off
fam 0:off 1:off 2:off 3:off 4:off 5:off 6:off
fbset 0:off 1:on 2:on 3:on 4:off 5:on 6:off
festival 0:off 1:off 2:off 3:off 4:off 5:off 6:off
gpm 0:off 1:off 2:off 3:off 4:off 5:off 6:off
haldaemon 0:off 1:off 2:on 3:on 4:off 5:on 6:off
icecream 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ipxmount 0:off 1:off 2:off 3:off 4:off 5:off 6:off
irq_balancer 0:off 1:on 2:on 3:on 4:off 5:on 6:off
joystick 0:off 1:off 2:off 3:off 4:off 5:off 6:off
kbd 0:off 1:on 2:on 3:on 4:off 5:on 6:off S:on
ksysguardd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
lirc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdadmd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdnsd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
microcode 0:off 1:on 2:on 3:on 4:off 5:on 6:off S:on
mysql 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nfsboot 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nmb 0:off 1:off 2:off 3:off 4:off 5:off 6:off
novell-zmd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
nscd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
ntp 0:off 1:off 2:off 3:off 4:off 5:off 6:off
openct 0:off 1:off 2:off 3:off 4:off 5:off 6:off
pcscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
policykitd 0:off 1:off 2:on 3:on 4:off 5:on 6:off
portmap 0:off 1:off 2:off 3:on 4:off 5:on 6:off
postfix 0:off 1:off 2:off 3:on 4:off 5:on 6:off
powerd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
powersaved 0:off 1:off 2:on 3:on 4:off 5:on 6:off
random 0:off 1:off 2:on 3:on 4:off 5:on 6:off
raw 0:off 1:off 2:off 3:off 4:off 5:off 6:off
resmgr 0:off 1:off 2:on 3:on 4:off 5:on 6:off
rpasswdd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rpmconfigcheck 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rsyncd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
skeleton.compat 0:off 1:off 2:off 3:off 4:off 5:off 6:off
smartd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
smb 0:off 1:off 2:off 3:off 4:off 5:off 6:off
smbfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
smpppd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
spamd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
splash 0:off 1:on 2:on 3:on 4:off 5:on 6:off S:on
splash_early 0:off 1:off 2:on 3:on 4:off 5:on 6:off
sshd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
svnserve 0:off 1:off 2:off 3:off 4:off 5:off 6:off
syslog 0:off 1:off 2:on 3:on 4:off 5:on 6:off
xdm 0:off 1:off 2:off 3:off 4:off 5:on 6:off
xfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xinetd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xinetd based services:
chargen: off
chargen-udp: off
cups-lpd: off
cvs: off
daytime: off
daytime-udp: off
echo: off
echo-udp: off
fam: off
netstat: off
rsync: off
sane-port: off
servers: off
services: off
swat: off
systat: off
time: off
time-udp: off
vnc: off
linux-7e7j:~ # grep network
And when I looked in /etc/init.d/ , there was no "network" file.
|
|
|
02-19-2007, 12:36 AM
|
#10
|
Member
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239
Rep:
|
Not sure why but your network service appears not to be installed. After some searching on rpmfind.net, OpenSuSE provides /etc/init.d/network with the sysconfig package. Do command 'rpm -qa|grep sysconfig' and check.
Really need someone with more SuSE experience to chime in and help get this sorted.
|
|
|
02-19-2007, 09:27 PM
|
#11
|
LQ Newbie
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16
Original Poster
Rep:
|
Here you are- sorry it took so long! This is a shared computer, and I had to wait for my opportunity to get back to work.
Code:
rhiannon@linux-7e7j:~> rpm -qa|grep sysconfig
yast2-sysconfig-2.14.0-8
|
|
|
02-19-2007, 11:06 PM
|
#12
|
Member
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239
Rep:
|
Quote:
Originally Posted by lady_chance
Here you are- sorry it took so long! This is a shared computer, and I had to wait for my opportunity to get back to work.
Code:
rhiannon@linux-7e7j:~> rpm -qa|grep sysconfig
yast2-sysconfig-2.14.0-8
|
"These are not the droids we're looking for..." hehe
Again, not sure why the sysconfig did not get installed, but yast2-sysconfig is not what you need. Try installing sysconfig-{whatever version number) from the install CD or download it from http://download.opensuse.org/distrib.../repo/oss/suse. Probably best to use YaST or whatever package manager SuSE provides. That way it'll catch any missing dependencies.
But if you want to try to install via command line:
Code:
# rpm -ivh sysconfig-<fill in the rest>
Wish I could be more precise with what to do but my SuSE kungfu is not good.
Hopefully, once you get the sysconfig and whatever dependencies it may need installed, you'll get your network services up and running.
|
|
|
02-20-2007, 08:13 AM
|
#13
|
LQ Newbie
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16
Original Poster
Rep:
|
Quote:
Originally Posted by wildar
"These are not the droids we're looking for..." hehe
Again, not sure why the sysconfig did not get installed, but yast2-sysconfig is not what you need. Try installing sysconfig-{whatever version number) from the install CD or download it from http://download.opensuse.org/distrib.../repo/oss/suse. Probably best to use YaST or whatever package manager SuSE provides. That way it'll catch any missing dependencies.
But if you want to try to install via command line:
Code:
# rpm -ivh sysconfig-<fill in the rest>
Wish I could be more precise with what to do but my SuSE kungfu is not good.
Hopefully, once you get the sysconfig and whatever dependencies it may need installed, you'll get your network services up and running.
|
Er. Well, now, see, anything I install, I have to be able to install from Knoppix, so I think I'll be having to grab it from the repo and save it to the HD. Every time I try to install something from the CD, YaST whines at me because it can't connect to the internet.
But, yes, thank you so much! I'll give this a shot, and get back to you.
If all else fails, I haven't put anything vital on the hard drive since the install that I don't also have on CD, so. And if I do have to reinstall, I'll be going through all the installed packages to make sure sysconfig is among them!
|
|
|
02-20-2007, 08:21 AM
|
#14
|
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
|
I wouldn't think you need do anymore than go into "YaST", "network" and see if your modem isn't listed there. It may be disguised under "DSL". If so it's a lot easier to configure.
|
|
|
02-20-2007, 06:54 PM
|
#15
|
LQ Newbie
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16
Original Poster
Rep:
|
Quote:
Originally Posted by Larry Webb
I wouldn't think you need do anymore than go into "YaST", "network" and see if your modem isn't listed there. It may be disguised under "DSL". If so it's a lot easier to configure.
|
That's the thing. Yast sees my ethernet card... no modem, but it wasn't listed while it was working, either.
Also, I don't have a DSL connection- it's cable.
Last edited by lady_chance; 02-20-2007 at 07:11 PM.
|
|
|
All times are GMT -5. The time now is 06:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|