Linux - NetworkingThis 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.
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.
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 07:28 AM.
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.
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.
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.
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.
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.
"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.
"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!
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.
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 06:11 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.