Linux Internet

Soldato
Joined
29 Apr 2007
Posts
4,840
Location
London
This is confuzzling.

In vista I type in my routers ip 192.168.2.1 and it shows the router settings

ubuntu I do the same and it says cannot connect to server. Internet works fine though.

Any help is much appreciated
 
eth0 Link encap:Ethernet HWaddr 00:18:F3:4B:C8:67
inet addr:192.168.2.2 Bcast:179.168.2.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 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)
Interrupt:16

eth1 Link encap:Ethernet HWaddr 00:17:3F:4E:5F:01
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::217:3fff:fe4e:5f01/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17994 errors:3759 dropped:685 overruns:0 frame:3748
TX packets:12923 errors:43 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21881929 (20.8 MB) TX bytes:1929096 (1.8 MB)

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:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6523 (6.3 KB) TX bytes:6523 (6.3 KB)
 
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth0
default ubuntu 0.0.0.0 UG 100 0 0 eth1
default ubuntu 0.0.0.0 UG 100 0 0 eth0

sorry the table format doesn't stay
 
Last edited:
linux

filesystem/etc/network/insterfaces



# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

iface eth0 inet static
address 192.168.2.2
netmask 255.255.255.0
network 192.168.2.2
broadcast 179.168.2.255
gateway 192.168.2.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 212.74.112.66

iface eth1 inet static
address 192.168.2.2
netmask 255.255.255.0
gateway 192.168.2.1
wireless-key 1A437ACA30238A6E4D24F488B1
wireless-essid belkin54g

auto eth1

auto eth0
windows

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Compaq_Administrator>ipconfig

Windows IP Configuration


Wireless LAN adapter Wireless Network Connection 8:

Connection-specific DNS Suffix . : Belkin
Link-local IPv6 Address . . . . . : fe80::d9bb:9c00:1d0e:d69e%18
IPv4 Address. . . . . . . . . . . : 192.168.2.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter Local Area Connection* 8:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter Local Area Connection* 10:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

C:\Users\Compaq_Administrator>

ADSL Status CONNECTED
Data Rate
Downstream/Upstream 7712Kb/832Kb
Connection Type PPPoA
WAN MAC Address 00:11:50:2F:7D:92
WAN IP 80.41.249.253
Subnet Mask 255.0.0.0
Default Gateway 212.74.111.192
Primary DNS Address man-cache-1-a-1.ns.uk.tiscali.com
Secondary DNS Address man-cache-0-a-1.ns.uk.tiscali.com


/end of windows info

other info:

Router IP Address 192.168.2.1

(access key here)


212.74.112.66
Secondary DNS 212.74.112.67

channel 11
belkin54g
 
Last edited:
ross@ubuntu:~$ ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
From 192.168.2.2 icmp_seq=1 Destination Host Unreachable
From 192.168.2.2 icmp_seq=2 Destination Host Unreachable
From 192.168.2.2 icmp_seq=3 Destination Host Unreachable
From 192.168.2.2 icmp_seq=4 Destination Host Unreachable
From 192.168.2.2 icmp_seq=5 Destination Host Unreachable
From 192.168.2.2 icmp_seq=6 Destination Host Unreachable
From 192.168.2.2 icmp_seq=7 Destination Host Unreachable
From 192.168.2.2 icmp_seq=8 Destination Host Unreachable
From 192.168.2.2 icmp_seq=9 Destination Host Unreachable
From 192.168.2.2 icmp_seq=10 Destination Host Unreachable
From 192.168.2.2 icmp_seq=11 Destination Host Unreachable
From 192.168.2.2 icmp_seq=12 Destination Host Unreachable
From 192.168.2.2 icmp_seq=13 Destination Host Unreachable
From 192.168.2.2 icmp_seq=14 Destination Host Unreachable
From 192.168.2.2 icmp_seq=15 Destination Host Unreachable
From 192.168.2.2 icmp_seq=16 Destination Host Unreachable
From 192.168.2.2 icmp_seq=17 Destination Host Unreachable
From 192.168.2.2 icmp_seq=18 Destination Host Unreachable
From 192.168.2.2 icmp_seq=19 Destination Host Unreachable
From 192.168.2.2 icmp_seq=20 Destination Host Unreachable
From 192.168.2.2 icmp_seq=21 Destination Host Unreachable
From 192.168.2.2 icmp_seq=22 Destination Host Unreachable
From 192.168.2.2 icmp_seq=23 Destination Host Unreachable
From 192.168.2.2 icmp_seq=24 Destination Host Unreachable

--- 192.168.2.1 ping statistics ---
26 packets transmitted, 0 received, +24 errors, 100% packet loss, time 25074ms
, pipe 3
ross@ubuntu:~$
 
Nic is your network interface card, basically as said you have two of them both using the same IP address, which is probably causing a conflict.

you can use ifconfig to change the ip, i.e ifconfig eth0 192.168.1.x

I went in the BIOS and disabled onboard LAN.

It worked and I can now access the router settings on 192.168.2.1

Thank you all for helping me :D
 
Back
Top Bottom