Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a sony Vaio laptop, and am running Knoppix 4.0 on it. I love this OS, but the only problem is I can't connect to the internet with it. I have a 2Wire dsl modem from SBC that I keep trying to hook up to, but it won't work. I tried an ethernet cable, bluetooth (which freezes everytime I try to set it up), connecting through either of my other systems (both Macintosh), and using my Linksys wireless G usb adapter. I've had the best luck with the USB adapter, because it actually detects it. I even found a place that has linux adapters for it (linuxant.com). I the software, but it needs to connect to the internet to install all the updates and such, which gets me back to where I started. Sorry for the long post, but any help would be greatly appreciated. Thanks
In my experience, going with Ethernet is a lot easier than USB. First off, run ifconfig eth0 to see if your Ethernet card is detected. I've set up several Vaios in the lab I work for and have never had any trouble with the onboard Ethernet in modern Linux distros. Please also tell us which distribution your using, since all do things slightly differently.
If you can get your Ethernet card detected, download rp-pppoe from Roaring Penguin (if it's not already installed). Then you can run adsl-setup which will walk you through configuring your DSL. Then you should be able to run adsl-start and be on the 'net.
Another alternative is buying a cheap broadband router, plugging your DSL modem into it, and then configuring Linux to connect to the Internet via the router.
That output means that your Ethernet card is detected, but isn't set up. Roaring penguin should be able to set up and go at this point, so I'm a bit confused why it's throwing that error. Exactly what command are you using that causes that error?
I'm using the "./go" command and the "./go-gui". Both of them give me the same error.
One thing that I completely failed to mention was that my laptop does not have a built-in ethernet card. I have to use a dock that hooks up to the bottom of my computer to use ethernet. It's a Sony pcga-prf1a port replicator. The USB ports work fine through it, but I'm not sure if that would affect the internet.
His ADSL likely uses PPPoE so you can't just bring your Ethernet card up, start dhcpcd, and expect to get going, unfortunately. You need to actually connect via PPPoE (which is basicaslly PPP like a dialup modem but run over Ethernet).
I'm not sure what you expect the ./go or ./go-gui commands to do. The typicall way to start the GUI in Linux is with startx.
With many command line tools, lack of response is often a good thing. You are warned if something went wrong, but are not told when something goes right. So it is normal that the command seems to do nothing. If you type ifconfig alone (without the eth0 part), it should show you which interfaces are up. So after typing "ifconfig eth0 up" then just type "ifconfig" and see if eth0 shows up in the list.
dhcpcd is usually found in /sbin. Some people use dhclient, although I'm not familiar with it. You can check where it is on your system with "whereis dhcpcd"
You may also have dhclient instead of dhcpcd. If you're root, either dhcpcd eth0 or dhclient eth0 should work so long as eth0 is on an Ethernet segment with an active DHCP server or forwarder. If you can't find either try "locate dhcpcd" and "locate dhclient" and type the full path to the executable.
I'm still not convinced that this will work with the OP's ADSL, but there's no harm in trying. At your office, if you connect through a router than only the router has to worry about interfacing with the DSL. The router probably has a DHCP server that assigns IP addresses to the other machines on the LAN.
As for the rp-pppoe problem, it looks like a minor problem copying some of the doc files over. Can you find the adsl-setup, adsl-start, and adsl-stop binaries in the source directory or in /usr/sbin or /usr/local/sbin? If so, you can just try running it by cd'ing to the directory it's in and running ./adsl-setup.
At your office, if you connect through a router than only the router has to worry about interfacing with the DSL. The router probably has a DHCP server that assigns IP addresses to the other machines on the LAN.
This is exactly how it works at my office: the modem doubles as a router/dhcp server. But I think this is pretty standard these days in DSL installations (big assumption ;-)
Try installing dhcp/dhcpcd with whatever package manager Knoppix uses. Or, try assigning yourself a static IP address. You do this by editing /etc/network/interfaces. Here's a sample file:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
iface lo inet loopback
# The first network card - this entry was created during the
# Debian installation automatically added when upgrading
iface eth0 inet static
Actually, you might be able to copy that straight into /etc/network/interfaces and have it work if 192.168.0.101 isn't used.
Thanks for all your help guys, but I finally gave up and actually installed SUSE Linux 10.0 on my system. Sadly, it doesn't work either. I'll try again sometime, but I've been getting pretty busy. Thanks again