LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 05-11-2006, 11:17 PM   #1
404 User Not Found
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
No Internet :(


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

 
Old 05-11-2006, 11:39 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.
 
Old 05-12-2006, 12:31 AM   #3
404 User Not Found
LQ Newbie
 
Registered: May 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Distribution? I have Knoppix 4.0.2, if that's what you mean. Otherwise, please forgive my ignorance.

i tried ifconfig eth0, and got
"Link encap:Ethernet HWaddr 08:00:46:02A:F3
BROADCAST MULTICAST MTU:1514 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes: 0 (0.0 b) TX bytes:0 (0.0 b)"

I'm not entirely sure what that means, but I think I can assume that it means that it can't connect.

and after trying Roaring Penguin, I got this error message:
"Oops! It looks like ./configure failed."

would that just mean it can't use my ethernet card?
Thanks
 
Old 05-12-2006, 12:37 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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?
 
Old 05-13-2006, 06:25 PM   #5
404 User Not Found
LQ Newbie
 
Registered: May 2006
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 05-13-2006, 06:33 PM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,623

Rep: Reputation: Disabled
what about (as root)

ifconfig eth0 up
dhcpcd eth0

?

Brian
 
Old 05-13-2006, 06:52 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.
 
Old 05-13-2006, 06:58 PM   #8
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,623

Rep: Reputation: Disabled
Is ADSL different than DSL? Because this works for me at my office where I have DSL.

Brian
 
Old 05-13-2006, 07:41 PM   #9
404 User Not Found
LQ Newbie
 
Registered: May 2006
Posts: 5

Original Poster
Rep: Reputation: 0
ifconfig eth0 up gives me absolutely nothing. This is what it shows up. No response or reaction

root@0[knoppix]# ifconfig eth0 up
root@0[knoppix]#

dhcpcd eth0 gives me

root@0[knoppix]# dhcpcd eth0
bash: dhcpcd: command not found
root@0[knoppix]#

I did try compiling Roaring Penguin, but in the end, I keep getting

/usr/bin/install: cannot stat '../doc/CHANGES' : No such file or directory
make: *** [install] Error 1

any suggestions? Thanks!
 
Old 05-14-2006, 10:41 AM   #10
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,623

Rep: Reputation: Disabled
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"

Brian
 
Old 05-14-2006, 04:59 PM   #11
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.
 
Old 05-14-2006, 05:46 PM   #12
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,623

Rep: Reputation: Disabled
Quote:
Originally Posted by btmiller
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 ;-)

Brian
 
Old 05-14-2006, 07:24 PM   #13
Maritime
Member
 
Registered: May 2006
Location: Southern California
Distribution: Debian 3.1 (Server only)
Posts: 36

Rep: Reputation: 15
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:

Code:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
# The first network card - this entry was created during the
# Debian installation automatically added when upgrading
auto eth0
iface eth0 inet static
    address 192.168.0.101
    netmask 255.255.255.
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.
 
Old 05-22-2006, 08:59 PM   #14
404 User Not Found
LQ Newbie
 
Registered: May 2006
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 05-22-2006, 09:57 PM   #15
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
You best bet is to try a few LiveCDs, once you find one that works you can either copy the necessary config files to whatever you have installed or just install it.

I would try PCLinuxOS, Kanotix, Mepis and maybe Ubuntu. If it works as a LiveCD it will work when installed.
 
  


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
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 05:29 PM
Internet Access & Internet Sharing Through Wi-Fi. Be.Gurmeet.Be Linux - Networking 0 04-13-2006 04:07 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 12:48 PM
iptables. Can ping through to internet side nic but can't get to internet gonus Linux - Networking 19 07-15-2004 02:27 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration