LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-29-2006, 01:31 PM   #1
RArocks12
LQ Newbie
 
Registered: Dec 2005
Location: NY
Posts: 7

Rep: Reputation: 0
Cannot connect to home network in xubuntu


I recently installed xubuntu onto my other computer and I can't seem to get it connected to the internet. I'm at school so I'm running off that network into a linksys router. So I turned off the computer and plugged in the cable to from the router into the computer and turned it on. In firefox I get an 'unable to connect to server' error. I currently have the network settings at DHCP and this is what happens when I type 'ifconfig':
eth0 Link encap:Ethernet HWaddr 00:08:A1:11:20:5C
inet6 addr: fe80::208:a1ff:fe11:205c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:129 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x1400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:585 errors:0 dropped:0 overruns:0 frame:0
TX packets:585 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:44252 (43.2 KiB) TX bytes:44252 (43.2 KiB)

I've searched on the forums here and at the ubuntu site but I couldn't find anything that helped me. Any suggestions would be greatly appreciated.
 
Old 09-29-2006, 02:36 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian
Posts: 2,179

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
It appears your DHCP setup is not working.

You don't have an IP address assigned. Look at your ifconfig output for eth0. There is no "inet addr:" listing. Nor "Bcast:" or "Mask:" Those should be assigned to you via DHCP. The line of ifconfig output that shows this data normally is the second line, between the lines that start with "Link encap:" and "inet6 addr:"

Here's my eth0 listing from home. You can see my IP address there is 192.168.0.52, shown on the second line of the output:
Code:
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:D4:31:D1
          inet addr:192.168.0.52  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:fed4:31d1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:544858 errors:0 dropped:0 overruns:0 frame:0
          TX packets:379809 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:536689070 (511.8 MiB)  TX bytes:62887456 (59.9 MiB)
First, I'd determine if you've got something messed up in your router (is is filtering/denying DHCP requests?)

Remove the router and plug your computer directory into the school network. Do you get an IP address assigned under that scenerio?

p.s. - It would be good to make sure your computer is secure and has iptables running and stopping unrequested incoming traffic before plugging directly into the school's network. Alternately, you could just boot with a LiveCD (Ubuntu can boot directly off CD) and run the DHCP testing that way. So you won't expose your harddisk install of Ubuntu to hacking or compromise. Once you figure out how to get an IP assigned in the LiveCD mode, you can go back and get things going in a firewall-protected harddisk-boot mode. Linux is not as likely to be quickly compromised as Windows, but the possibility is still there, so don't do something with a direct network connection before thinking things through.
 
  


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
Connect Kubuntu to a Windows home network? flytier Linux - Networking 1 09-21-2006 12:05 PM
Driver is set up, but I can't connect to my home network zowey Linux - Wireless Networking 9 01-07-2006 09:30 AM
Setting up a home network - can't connect to router awagner99 Linux - Networking 7 01-30-2005 09:23 PM
can ping to/from pcs on home network but not connect to internet stumblefingers Linux - Networking 13 04-12-2004 09:34 AM
added second nic to network at home now cannot connect to internet gonus Linux - Networking 12 08-23-2002 09:56 PM


All times are GMT -5. The time now is 12:10 PM.

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