Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 15067  / 2 Years ago, mon, august 22, 2022, 6:58:04

I have a dual boot setup with Windows 7 and Ubuntu 12.04. In Windows my connection is perfect but when booting into Ubuntu I cannot connect at all.



The network manager states that I'm connected but I cannot access any websites or ping any external addresses.



I've only been using Ubuntu for a few weeks so don't know too much about it yet. I'm also not well versed in networking.



The strange thing is that it has worked perfectly for a while after the initial install and sometime afterwards it was not working for about 2 days and then it worked again for a day and now it's completely non-functioning.



I'm investigating the possibility of it being an issue with recently install software but am hoping you guys can spot something suspicious with the results posted below.



Below is some commands and their output that I've run that I've seen asked for on other threads:



ifconfig



eth0      Link encap:Ethernet  HWaddr f4:6d:04:90:d3:fe
inet addr:10.0.0.102 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::f66d:4ff:fe90:d3fe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:281 errors:0 dropped:64 overruns:0 frame:0
TX packets:581 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21637 (21.6 KB) TX bytes:56926 (56.9 KB)

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:1429 errors:0 dropped:0 overruns:0 frame:0
TX packets:1429 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:93375 (93.3 KB) TX bytes:93375 (93.3 KB)


ping 192.168.1.254



This is the address for the router's web interface which I cannot even connect to.



PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=1 Destination Net Unreachable
From 10.0.0.2 icmp_seq=2 Destination Net Unreachable
From 10.0.0.2 icmp_seq=3 Destination Net Unreachable
From 10.0.0.2 icmp_seq=4 Destination Net Unreachable
From 10.0.0.2 icmp_seq=5 Destination Net Unreachable


nm-tool



NetworkManager Tool

State: connected (global)

- Device: eth0 [Wired connection 1] -------------------------------------------
Type: Wired
Driver: r8169
State: connected
Default: yes
HW Address: F4:6D:04:90:D3:FE


route -n



Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.2 0.0.0.0 UG 0 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0

Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s

Wired Properties
Carrier: on

IPv4 Settings:
Address: 10.0.0.102
Prefix: 24 (255.255.255.0)
Gateway: 10.0.0.2

DNS: 10.0.0.2


ping -c4 4.2.2.2



PING 4.2.2.2 (4.2.2.2) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=1 Destination Net Unreachable
From 10.0.0.2 icmp_seq=2 Destination Net Unreachable
From 10.0.0.2 icmp_seq=3 Destination Net Unreachable
From 10.0.0.2 icmp_seq=4 Destination Net Unreachable

--- 4.2.2.2 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2997ms


If there are any other commands to run or things to confirm please ask.



Thank you in advance :)


More From » 12.04

 Answers
0

Your PC and your router are on diferent networks. TCP/IP can comunicate machines on the same network.



Change the address in the Ubuntu computer to some address like 192.168.1.x (where x < 254 and x > 0), netmask 255.255.255.0 (or /24) and gateway 192.168.1.254



If the router has a dhcp server activated you can define network address as DHCP in network manager


[#30397] Tuesday, August 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
variark

Total Points: 82
Total Questions: 114
Total Answers: 122

Location: Sweden
Member since Mon, May 8, 2023
1 Year ago
variark questions
Wed, Nov 3, 21, 13:30, 3 Years ago
Sun, Jan 8, 23, 16:05, 1 Year ago
Thu, Dec 15, 22, 02:10, 1 Year ago
Sun, Jun 26, 22, 12:20, 2 Years ago
Tue, Dec 14, 21, 15:40, 2 Years ago
;