LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-16-2007, 08:05 PM   #1
lady_chance
LQ Newbie
 
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16

Rep: Reputation: 0
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.
 
Old 02-17-2007, 11:22 AM   #2
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
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.
 
Old 02-17-2007, 01:30 PM   #3
lady_chance
LQ Newbie
 
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16

Original Poster
Rep: Reputation: 0
... 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.
 
Old 02-17-2007, 05:58 PM   #4
lady_chance
LQ Newbie
 
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 02-18-2007, 09:38 AM   #5
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
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.
 
Old 02-18-2007, 01:06 PM   #6
lady_chance
LQ Newbie
 
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 02-18-2007, 01:48 PM   #7
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
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.
 
Old 02-18-2007, 03:41 PM   #8
crispx
LQ Newbie
 
Registered: Dec 2006
Location: NW, Georgia
Distribution: Fedora
Posts: 12

Rep: Reputation: 0
/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.
 
Old 02-18-2007, 04:36 PM   #9
lady_chance
LQ Newbie
 
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 02-19-2007, 12:36 AM   #10
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
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.
 
Old 02-19-2007, 09:27 PM   #11
lady_chance
LQ Newbie
 
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 02-19-2007, 11:06 PM   #12
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
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.
 
Old 02-20-2007, 08:13 AM   #13
lady_chance
LQ Newbie
 
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16

Original Poster
Rep: Reputation: 0
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!
 
Old 02-20-2007, 08:21 AM   #14
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
 
Old 02-20-2007, 06:54 PM   #15
lady_chance
LQ Newbie
 
Registered: Feb 2007
Location: Texas, USA
Distribution: Kubuntu 7.10
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Internet connection died in openSuSE Dark_Oppressor Linux - Networking 15 05-01-2007 08:09 PM
moving to openSUSE with poor internet robingazi SUSE / openSUSE 2 01-20-2007 08:44 AM
OpenSuSE - Sudden Internet Death madgenius Linux - Networking 1 04-10-2006 05:34 AM
Secure Wireless Internet on openSuSE 10 Purgetroy Linux - Wireless Networking 3 03-25-2006 04:30 PM
internet installation opensuse ungua Linux - Newbie 2 12-06-2005 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:17 AM.

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