This is a discussion on Wireless router within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I bought a wireless PCI card for my Slackware 10.1 router/server without doing some advance research. I was hoping ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I bought a wireless PCI card for my Slackware 10.1 router/server without doing some advance research. I was hoping to use the wireless card to allow the router/server to do NAT for both wired connection and wireless connections. This is essentially to allow my laptop and my neighbour to get acces to the LAN and the internet without having to plug wires in. Currently I have the two NIC thing with DHCP on the computer and it works well. I share files via NFS for Linux users and samba for Windows users. Essentially, I would like to add a wireless compent to the setup. Is there a Howto out there? Can my DHCP server issue IPs on two NICs? THanks in advance Jenn ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In alt.os.linux.slackware, Jennifer dared to utter, > Can my DHCP server issue IPs on two NICs? I can't help you with the wifi stuff, but I can tell you that yes, dhcpd can hand out IPs on an arbitrary number of NICs. The easiest way to do this is to have the two NICs on different subnets. eth0 192.168.1.1 eth1 192.168.2.1 You can setup /etc/dhcpd.conf to hand out IPs freely. Slackware doesn't include a rc.dhcpd startup script, so I'm enclosing mine on the off chance it will help you. You'll have to edit rc.M and rc.0 to start and stop it on boot if you want it to all go smoothly, otherwise you can just referance this in rc.local. /etc/rc.d/rc.dhcpd #!/bin/bash # Start, stop, and restart the DHCP server. dhcpd_start() { echo "Starting the dhcp server." if [ -x /usr/sbin/dhcpd ];then /usr/sbin/dhcpd fi } dhcpd_stop() { echo "Stopping the dhcp server." /bin/kill $(/bin/cat /var/run/dhcpd.pid) } dhcpd_restart() { echo "Restarting the dhcp server." dhcpd_stop dhcpd_start } # See how we are called. case "$1" in 'start') dhcpd_start ;; 'stop') dhcpd_stop ;; 'restart') dhcpd_restart ;; *) echo "Usage $0 start|stop|restart." esac - -- It is better to hear the rebuke of the wise, Than for a man to hear the song of fools. Ecclesiastes 7:5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCOeHAvgVcFKpJf4gRAv4cAKC4mXABkSy1bIg826xV9D 7tNl+3iQCg3PJC zB1FBxJdudVbL9k0S7UwZ5w= =HZKx -----END PGP SIGNATURE----- |
| |||
| Jennifer wrote : > I bought a wireless PCI card for my Slackware 10.1 router/server without > doing some advance research. Before you go any further you should search the net to see if this card can operate in "Master" mode. Only cards that support the master mode can be used in a router setup like this, and many cards only supports "Managed" or "Ad-Hoc" modes. -- Thomas O. This area is designed to become quite warm during normal operation. |
| ||||
| On Thu, 17 Mar 2005 09:00:46 -0500, Jennifer wrote: > I bought a wireless PCI card for my Slackware 10.1 router/server without > doing some advance research. I was hoping to use the wireless card to > router/server to do NAT for both wired connection and wireless > connections. This is essentially to allow my laptop and my neighbour to > get acces to the LAN and the internet without having to plug wires in. > > Currently I have the two NIC thing with DHCP on the computer and it works > well. I share files via NFS for Linux users and samba for Windows users. > Essentially, I would like to add a wireless compent to the setup. > > Is there a Howto out there? Can my DHCP server issue IPs on two NICs? A lot depends on what chipset your wireless card has and if there is a linux driver for it. 'lspci' and 'lspci -n' will help with that. Things are pretty untidy in the Linux wireless world, but here is a good start http://www.hpl.hp.com/personal/Jean_.../Wireless.html Mike |