LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   changed mac address + got dhcp add ! but can't ping (https://www.linuxquestions.org/questions/linux-networking-3/changed-mac-address-got-dhcp-add-but-cant-ping-426440/)

Mr_C 03-19-2006 10:16 PM

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?????

camh 03-19-2006 10:20 PM

Can you run 'ifconfig' and 'route' and post the results?

Mr_C 03-19-2006 10:53 PM

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?

Mr_C 03-19-2006 11:55 PM

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.


All times are GMT -5. The time now is 06:52 PM.