LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-04-2008, 03:24 PM   #1
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
some other host already uses address 192.168.0.2


Desktop linux box(192.168.0.2) running Fedora 9 with standard ethernet 10/100 LAN card (8139too driver). Wireless router configured for static IP addresses. Network-manager was not controlling the interface.

Networking was all fine then all of a sudden I'm getting strange error when booting up...

Code:
#/etc/init.d/network reload
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Error, some other host already uses address 192.168.0.2.
                                                           [FAILED]
searched for "some other host already uses address 192.168.0.2" but these did not help
http://www.linuxquestions.org/questi...d.php?t=644896
http://www.linuxquestions.org/questi...d.php?t=312115

So onwards ..

There are NO other connected devices (using my laptop for debugging, my router's web page indicates no other devices than the laptop itself - 192.168.0.3). The router is set for static IP addresses and my ifcfg looks like this

Code:
# cat /etc/sysconfig/networking/devices/ifcfg-eth0 
# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.0.255
HWADDR=00:1a:92:06:3f:42
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
GATEWAY=192.168.0.1
TYPE=Ethernet
DNS1=192.168.0.1
USERCTL=yes
PEERDNS=no
IPV6INIT=no
NM_CONTROLLED=no
Bizzarely if I arping the eth0 interface just after getting the above error, I get..
Code:
# if ! arping -D -I eth0 192.168.0.2 
ARPING 192.168.0.2 from 0.0.0.0 eth0
Unicast reply from 192.168.0.2 [00:01:6C:F5:7D:D1]  0.705ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)
What gives ??

I just could not get it working until I went into the system-config-network tool , deleted the interface , created a new on and this time let network-manager control the interface.

Then it worked....but what went wrong ??
 
Old 09-05-2008, 08:20 AM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
do you have more than one interface on the system?
 
Old 09-06-2008, 04:05 AM   #3
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
no. read my post.

thats obvious one to check.
 
Old 09-06-2008, 04:09 AM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Does the MAC
Code:
00:01:6C:F5:7D:D1
returned belong to any of your devices?
 
Old 09-07-2008, 02:56 AM   #5
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
ah, yes good call...

Code:
# hal-find-by-capability --capability=net
/org/freedesktop/Hal/devices/net_00_1a_92_06_3f_42

# lshal -lu /org/freedesktop/Hal/devices/net_00_1a_92_06_3f_42
udi = '/org/freedesktop/Hal/devices/net_00_1a_92_06_3f_42'
  info.capabilities = {'net', 'net.80203'} (string list)
  info.category = 'net.80203'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_10ec_8139'  (string)
  info.product = 'Networking Interface'  (string)
  info.udi = '/org/freedesktop/Hal/devices/net_00_1a_92_06_3f_42'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'net'  (string)
  linux.sysfs_path = '/sys/class/net/eth0'  (string)
  net.80203.mac_address = 114119032642  (0x1a92063f42)  (uint64)
  net.address = '00:1a:92:06:3f:42'  (string)
  net.arp_proto_hw_id = 1  (0x1)  (int)
  net.interface = 'eth0'  (string)
  net.linux.ifindex = 2  (0x2)  (int)
  net.originating_device = '/org/freedesktop/Hal/devices/pci_10ec_8139'  (string)
  net.physical_device = '/org/freedesktop/Hal/devices/pci_10ec_8139'  (string)
so although I have only one physical interface, the network layer MAC address is not the same as the MAC address reported by HAL.

???

how can this happen?
 
Old 09-08-2008, 02:31 PM   #6
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
And do ifconfig or "ip link"
Code:
show 00:01:6C:F5:7D:D1
on any of your devices? Router shows only DHCP clients; open connections may still show 192.168.0.2. Also you can try to ping 192.168.0.2. It may be someone who connected, but just set a static IP without asking DHCP.
 
Old 09-20-2008, 06:11 PM   #7
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
someone is(was) connected to my WAP. I am using shared key security. How can this be?
 
Old 09-20-2008, 09:25 PM   #8
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
What security mode were you using?
 
Old 09-21-2008, 12:15 AM   #9
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
The other MAC address belongs to a device manufactured by Foxconn.
 
Old 09-21-2008, 02:21 AM   #10
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Is your password hard to guess?
 
Old 10-21-2008, 04:40 PM   #11
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
yes !?! why?
 
Old 10-21-2008, 04:46 PM   #12
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Quote:
Originally Posted by keratos View Post
yes !?! why?
Because easy to guess passwords are one way someone can access something they're not supposed to. And just to make sure, you're aware raskin was asking about the wireless password, aren't you? What security do you have enabled on wireless router?
 
Old 10-22-2008, 03:51 PM   #13
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
WPA-PSK

but thats not the issue. no one else is on the LAN, I've checked that.
 
Old 11-20-2008, 11:46 AM   #14
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
i think there's no connecting.



system-config-network

i left the "hosts" blank
and it's ok.
 
  


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
Error, some other host already uses address 192.168.1.4 nemobluesix Linux - Wireless Networking 5 07-09-2008 01:42 PM
[root@wlxxb ~]# telnet 192.168.192.12 25 Trying 192.168.192.12... telnet problem cnhawk386 Linux - Networking 1 10-10-2007 02:50 PM
pinging 192.168.0.10 from 192.168.2.101 cov Linux - Networking 12 05-03-2007 10:21 AM
What route to access daisy chained 2d router 192.168.1.1 after 192.168.0.1 (subnets?) Emmanuel_uk Linux - Networking 6 05-05-2006 01:47 AM
Is someone on my network?! ::ffff:192.168.0.10:ssh ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:29 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
Open Source Consulting | Domain Registration