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 03-19-2006, 10:16 PM   #1
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
Question changed mac address + got dhcp add ! but can't ping


I've changed my mac address from its default in /etc/rc.d/rc.inet1.conf. I connect to an adhoc network and I'm even issued an ip address. But I can't ping the system. WTF? I can even renew the ip address but I still can't ping/share files etc.

Whats going on here? The knemo lights up indicating data is being sent but the ping requests fail?????
 
Old 03-19-2006, 10:20 PM   #2
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
Can you run 'ifconfig' and 'route' and post the results?
 
Old 03-19-2006, 10:53 PM   #3
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
This is route using default mac

Code:
root@lib09/home/clay> route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 ath0
localnet        *               255.252.0.0     U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         homeibm.mshome. 0.0.0.0         UG    0      0        0 ath0

root@lib09/home/clay> ifconfig ath0
ath0      Link encap:Ethernet  HWaddr 00:0F:B5:EB:4A:C0  
          inet addr:192.168.0.88  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:b5ff:feeb:4ac0/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:45 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:13682 (13.3 Kb)  TX bytes:14636 (14.2 Kb)
And here we have changed the mac.


Code:
root@lib09/home/clay> route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 ath0
localnet        *               255.252.0.0     U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.0.1     0.0.0.0         UG    0      0        0 ath0
root@lib09/home/clay> cat /etc/resolv.conf
nameserver 192.168.0.1
search mshome.net
root@lib09/home/clay> ifconfig ath0
ath0      Link encap:Ethernet  HWaddr AB:01:23:45:67:89  
          inet addr:192.168.0.183  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a901:23ff:fe45:6789/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:366 errors:0 dropped:0 overruns:0 frame:0
          TX packets:372 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:193014 (188.4 Kb)  TX bytes:68963 (67.3 Kb)

root@lib09/home/clay>
Seee??? Why does that happen?

Last edited by Mr_C; 03-19-2006 at 10:55 PM.
 
Old 03-19-2006, 11:55 PM   #4
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
Ok I checked madwifi.org and they have some 'new' manuals.
Changed it via wifi0.
Now and I can ping but no real services i.e. smbclient and www access fails.

Anyone encounter this. I know I'm close to the answer.
 
  


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
changed mac address, now FC3 can't detect it lumba1 Linux - General 2 03-05-2005 05:14 AM
DHCP + Mac address tiger3090 Linux - Networking 1 12-07-2004 08:13 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
ISC DHCP Server MAC Address dlucas10 Linux - Networking 1 05-25-2004 05:49 PM
MAC Address Encap Vs DHCP zooma Linux - Networking 0 11-21-2001 09:14 AM

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

All times are GMT -5. The time now is 09:13 AM.

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