Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless NIC cannot connect to another machine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Tue Jan 13, 2004 12:32 am    Post subject: Wireless NIC cannot connect to another machine Reply with quote

i have two wireless NICs on the same channel and yet they cannont ping each other. i get
Quote:
"From 192.168.1.2 icmp_seq=3 Destination Host Unreachable"

192.168.1.2 is my ip on the machine that is pinging

any ideas?

They have the same subnet mask and they have the same ip range both on channel 3 and both adhoc connections

Here is my setup:

My Gentoo box 2.6.0 : -
with a wireless network card (yenta and orinoco) - which connects to pc 2 a windows 2000 box (eth2)
with a broadcom bcm4400 connected to cable broadband modem (eth0)
with a rtl8139 connected to an XBOX console. (eth1)


here is my ifconfig
Code:

eth0      Link encap:Ethernet  HWaddr 00:E0:18:9D:85:5C
          inet addr:82.35.77.76  Bcast:255.255.255.255  Mask:255.255.248.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:44230 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7024 errors:0 dropped:0 overruns:0 carrier:2
          collisions:0 txqueuelen:1000
          RX bytes:8246164 (7.8 Mb)  TX bytes:807821 (788.8 Kb)
          Interrupt:5
 
eth1      Link encap:Ethernet  HWaddr 00:30:84:87:BA:6C
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.0.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:11 Base address:0xd800
 
eth2      Link encap:Ethernet  HWaddr 00:05:5D:F8:83:55
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:327 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:9 Base address:0x100
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:393 errors:0 dropped:0 overruns:0 frame:0
          TX packets:393 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:40657 (39.7 Kb)  TX bytes:40657 (39.7 Kb)


and here is my iwconfig
Code:

lo        no wireless extensions.
 
eth0      no wireless extensions.
 
eth1      no wireless extensions.
 
eth2      IEEE 802.11-DS  ESSID:""  Nickname:"Prism  I"
          Mode:Ad-Hoc  Frequency:2.472GHz  Cell: 44:44:44:44:44:44
          Bit Rate:2Mb/s   Tx-Power=15 dBm   Sensitivity:1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


my /etc/conf.d/net
Code:

iface_eth0="dhcp"
iface_eth1="192.168.1.1 broadcast 192.168.1.255 netmask 255.255.0.0"
iface_eth2="192.168.1.2 broadcast 192.168.1.255 netmask 255.255.0.0"


I tried making links to /etc/init.d/net.eth0 called /etc/init.d/eth1 and eth2 but it didnt work so i copied and pasted the files and renamed them in the same dir and it worked for them. otherwise they were not coming up in the startup sequence. i had to bring them up manually iwth ifconfig eth0 dhcp and ifoncifg 192.x.x.x/24 etc.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Tue Jan 13, 2004 1:18 pm    Post subject: Reply with quote

more info

I have changed the subnet masks to 255.255.255.0

and here is my new ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:E0:18:9D:85:5C
          inet addr:82.35.77.76  Bcast:255.255.255.255  Mask:255.255.248.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4585256 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3020862 errors:0 dropped:0 overruns:0 carrier:2
          collisions:0 txqueuelen:1000
          RX bytes:3792166418 (3616.4 Mb)  TX bytes:1371171168 (1307.6 Mb)
          Interrupt:5
 
eth1      Link encap:Ethernet  HWaddr 00:30:84:87:BA:6C
          inet addr:192.168.1.1  Bcast:192.168.1.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:11 Base address:0xd800
 
eth2      Link encap:Ethernet  HWaddr 00:05:5D:F8:83:55
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:168 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:9 Base address:0x100
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:38737 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38737 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5688711 (5.4 Mb)  TX bytes:5688711 (5.4 Mb)


i have changed the channel to 4 and so here is my iwconfig
Code:

lo        no wireless extensions.
 
eth0      no wireless extensions.
 
eth1      no wireless extensions.
 
eth2      IEEE 802.11-DS  ESSID:""  Nickname:"Prism  I"
          Mode:Ad-Hoc  Frequency:2.427GHz  Cell: 44:44:44:44:44:44
          Bit Rate:2Mb/s   Tx-Power=15 dBm   Sensitivity:1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0




Both machines can ping them selves on their ips but cannot ping each other.

please help me.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Tue Jan 13, 2004 1:22 pm    Post subject: Reply with quote

i just changed the essid to 44:44:44:44:44:44 and it works. they can ping each other!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum