Page 1 of 1
Can't figure out why I can't connect to the internet
Posted: Mon Feb 05, 2007 10:27 am
by Luke
On my laptop, I had my wireless and wired connections set up just fine. Then yesterday it just stopped connecting. It still says its connected and when I unplug the router, it says it's not connected any more. It detects my wireless network fine and it says it connects to that as well, but when I open up firefox, I can't access the internet. This is on ubuntu edgy. Does anybody know what the issue may be or where I may be able to dig up anwsers?
<---- linux n00b

Posted: Mon Feb 05, 2007 10:57 am
by daedalus__
i remember when i first loaded edgy, there was the little blinky ethernet icon on the dealy and i clicked it and then i clicked the drop-down box and select eth0 rather than loopback and it worked fine after that.
all i can think of :/
Posted: Mon Feb 05, 2007 11:02 am
by Luke
tried that already. No worky. I haven't even been able to research the problem because I have no other computer except at work, so I went all weekend w/out using the internet

Posted: Mon Feb 05, 2007 11:33 am
by nickvd
what does ifconfig report? i.e. if you have an ip address to your router (and can ping it) then you should call your isp

Posted: Mon Feb 05, 2007 12:01 pm
by Chris Corbyn
I agree, run the following then copy & paste it here.
Code: Select all
ifconfig
iwconfig
cat /etc/resolv.conf
route -n
Posted: Mon Feb 05, 2007 8:11 pm
by Luke
I have to do this at my parents house (which is where I am) because I have no other computer to use to connect to devnet at my house. This is the results of the commands you asked me to post
Code: Select all
luke@luke-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:1F:C9:3F:81
inet addr:169.254.61.201 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::20f:1fff:fec9:3f81/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:323 errors:0 dropped:0 overruns:0 frame:0
TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23014 (22.4 KiB) TX bytes:8727 (8.5 KiB)
Interrupt:11
eth1 Link encap:Ethernet HWaddr 00:0E:35:74:95:92
inet6 addr: fe80::20e:35ff:fe74:9592/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:124 errors:0 dropped:0 overruns:0 frame:0
TX packets:2049 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:5 Base address:0xa000 Memory:fafef000-fafeffff
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:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
luke@luke-laptop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
sit0 no wireless extensions.
luke@luke-laptop:~$ cat /etc/resolv.conf
search MC2Design.local
nameserver 192.168.15.1
luke@luke-laptop:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
luke@luke-laptop:~$
This just makes me realize how little I really know about this OS. I need to buy a book

Posted: Mon Feb 05, 2007 8:16 pm
by Jenk
You've not got the route configured, nor IP assigned to wireless.
run (as root, or sudo):
Code: Select all
# ifconfig eth1 192.168.0.2
# route add -net 192.168.0.2 netmask 255.255.255.0 gw 192.168.0.1 dev eth1
where 192.168.0.2 is your machines IP, and 192.168.0.1 is your routers internal IP.
EDIT: The above is for static IP, for DHCP you'd need a bit more jazz but I can't remember it

Posted: Mon Feb 05, 2007 8:25 pm
by Luke
I am still pretty green when it comes to networking. I never got too into it and I really need to. So forgive me, but could you answer some dummy questions for me?
I'm the only machine on the network and I connect via wireless. My machine will have it's own IP? I know my router has an IP, but I don't remember what it is. How do I find out?

Posted: Mon Feb 05, 2007 8:34 pm
by Jenk
I'm a wireless noob. However - you say that it 'connects' when you plug it in, right? Just not to the www?
Were you "connected" at the time of running the commands d11wtq posted? If so, try the route command again, but without the -n switch. If your router is connected, you may see it by hostname. (-n is the flag to show ip, not hostname if it's set.)
I'd also hazard a guess that:
192.168.15.1
is your router IP.
Posted: Mon Feb 05, 2007 11:57 pm
by Luke
get ready to laugh at ninja...
My DSL modem was unplugged
/me hides

Posted: Tue Feb 06, 2007 12:23 am
by daedalus__
BAHAHAHAHAHAHAHAHAHAHAHAHA
don't worry ive torn my hair out for an hour and a half just to call my isp and find out that my routers power was unplugged
Posted: Tue Feb 06, 2007 12:24 am
by nickvd
The Ninja Space Goat wrote:get ready to laugh at ninja...
My DSL modem was unplugged
/me hides

... ... ...

Posted: Tue Feb 06, 2007 3:24 am
by Jenk