LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   openSuSE won't connect to the internet (https://www.linuxquestions.org/questions/linux-networking-3/opensuse-wont-connect-to-the-internet-529767/)

lady_chance 02-16-2007 07:05 PM

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.

zaichik 02-17-2007 10:22 AM

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.

lady_chance 02-17-2007 12:30 PM

... 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.

lady_chance 02-17-2007 04:58 PM

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.

zaichik 02-18-2007 08:38 AM

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.

lady_chance 02-18-2007 12:06 PM

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.

wildar 02-18-2007 12:48 PM

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.

crispx 02-18-2007 02:41 PM

/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.

lady_chance 02-18-2007 03:36 PM

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.

wildar 02-18-2007 11:36 PM

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.

lady_chance 02-19-2007 08:27 PM

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


wildar 02-19-2007 10:06 PM

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.

lady_chance 02-20-2007 07:13 AM

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!

Larry Webb 02-20-2007 07:21 AM

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.

lady_chance 02-20-2007 05:54 PM

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.


All times are GMT -5. The time now is 02:16 AM.