Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
I am currently using two desktops and a roaming laptop in the house, each one with a wireless connection to a single Linksys BEFW11S4v4 (B) Router. The laptop is using a WPC11v4 (PCMCIA), and the desktops are using a WMP11v4 and a NetGear WG311 respectively. All 3 computers are running MDK 2005 LE, and all 3 required ndiswrapper to get working. All 3 can connect to the internet simultaneously, but I cannot "see" the others on the LAN no matter what I try. With firewall disabled, still no luck. Is it because I'm using the "managed" mode instead of "AdHoc"? If I switch to AdHoc do I lose my multiple connectivity? I am absolutely a newbie, please any help would be awesome. Does anyone know of an FAQ that explains (in simple terms) a multiple workstation wireless network?
If it makes a difference, I can ping other machines in my network but telnet session is refused by the remote host(s), and Mandrake Control Center Remote Administration is not happening--Error, Unable to connect to VNC Server!!!
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255
Rep:
Quote:
Is it because I'm using the "managed" mode instead of "AdHoc"? If I switch to AdHoc do I lose my multiple connectivity?
AdHoc mode is for connecting two workstations to each other directly without using the wireless AP. If you connect to the AP use managed mode. (The AP will manage the connection.) Sounds like you've got everything working correctly if you can ping the other machines. (See below)
Quote:
I can ping other machines in my network but telnet session is refused by the remote host(s)
That may be completely normal. If I attempt to telnet to my local machine I get the same response:
I managed to connect using tightVNC after I set the target machine to accept requests from my laptop IP, password file, and default virtual terminal#. The only problem now is that while having full run of the system is pretty cool, I still am not able to share filesystems over the network. This may be a stupid question, but do I need to run apache (or similar server) to share files within my intranet?
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255
Rep:
OK, check this for your ssh configuration:
Edit /etc/ssh/sshd_config to make sure these options are set:
Code:
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
PermitRootLogin no
RSAAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
UsePAM no
Restart sshd (When you run this command it will tell you the PID of sshd, use that number in the second command)
Code:
ps -aux | grep ssh
kill -HUP <ssh-pid>
Then create yourself a key to use:
Code:
ssh-keygen -t rsa
Just hit enter when prompted for password or any other parameters.
Copy the id_rsa.pub to your ~/.ssh/authorized_keys
Code:
cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
Now ssh to another machine (change the IP address to match one of your machines):
Code:
ssh 192.168.1.5
The first time you do this you'll see this, answer yes:
Code:
The authenticicity of host '192.168.1.5 can't be established.
RSA key fingerprint is ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##.
Are you sure you want to continue connecting (yes/no)?
That should do it, you should be in, and it won't complain about authenticity the next time.
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255
Rep:
Quote:
I managed to connect using tightVNC after I set the target machine to accept requests from my laptop IP, password file, and default virtual terminal#. The only problem now is that while having full run of the system is pretty cool, I still am not able to share filesystems over the network. This may be a stupid question, but do I need to run apache (or similar server) to share files within my intranet?
The best option is probably to run nfs, but I think you can also run samba. Sorry, but I don't do either of those so I can't help with their config.
Most distributions disable remote login capabilities as default for security reasons, this is why telnet and ssh is disabled unless you set it up otherwise. These programs then require the use of either ftp or sftp to transfer files from one another. Using nfs be much easier with moving files by drag and drop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.