<---- linux n00b
Can't figure out why I can't connect to the internet
Moderator: General Moderators
Can't figure out why I can't connect to the internet
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
<---- linux n00b
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
I agree, run the following then copy & paste it here.
Code: Select all
ifconfig
iwconfig
cat /etc/resolv.conf
route -nI 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
This just makes me realize how little I really know about this OS. I need to buy a book 
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:~$
You've not got the route configured, nor IP assigned to wireless.
run (as root, or sudo):
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
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 eth1EDIT: The above is for static IP, for DHCP you'd need a bit more jazz but I can't remember it
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?
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?
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.
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.
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm