Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
We 'think' we have configured essid, channel, etc correctly but we are not sure
Currently we have the following:
1-XP machine with a PCMCIA wireless ethernet card (works great!)
2-RHAT linux 7.2 machine with PCMCIA wirless ethernet card (working crappily)
Interfaces on both machines have been given static IP addresses. When 2 is ejected and inserted then the two machines can ping one another (but only like 7 or 8 times) then the machines can't 'reach' each other.
Whenever i use commands like 'iwconfig eth0 essid on' or 'iwconfig blah blah' the two machines once again see each other but once again for only two or three beeps.
Okay, I assumed there was going to be a wireless router involved, but you want to do pier-to-pier? Right now by default that card is going to start in managed mode, which means its scanning through all of the available channels looking for a master. If you assign it:
iwconfig eth0 mode ad-hoc
or, conversely, if its in ad-hoc by default, put it in managed
pier-to-pier is a bit of a hastle, but its just a matter of hitting the right combination.
It should open a cell and stick with it, which hopefully the XP machine will be able to hold with, if you also tell it to use ad-hoc. I've only configured XP crates for wireless LANs with managers and encryption, so I couldn't tell you what menu does what.
A few notes though:
iwconfig eth0 essid on
is assigning the card to a network named "on". Under XP there is a setting to give it the essid, or networkname. Make it the same on the two laptops. You might also want to set : iwconfig eth0 rate auto
That will let the card decide what transfer rate to use depending on distance and noise, which will cut down on packet loss, but shouldn't exactly help with this dropping after 8 pings problem.
We got it working. We were stumped as to why the pings were not continuous and only worked when we restarted the card (and only worked for a little while before being unresponsive)
We then realised there were two versions of ad-hoc
1. Demo adhoc (proprietary)
2. 802.11 adhoc (IBSS, i think)
We left linux box untouched (from our last message configuration)
We opened up the properties of TEW-PC16 using XP device manager and looked into advanced. There were many more options available here than using the 'little utility in the lower right hand corner of screen'. We changed mode to IBSS from adhoc and a couple of things happeded:
1. solid link light on card began blinking
2. little utility went from green (connected) to red (disconnected)
3. but PING rates were amazingly continuous and awesome!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.