LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-09-2005, 06:23 PM   #1
mike105105
Member
 
Registered: Oct 2004
Distribution: slackware
Posts: 39

Rep: Reputation: 15
Need help with wlan and static IP


I am changing my various important machines at home from DHCP to static IP. I have my slackware poweredge 4300 file server and my sun ultra 60 solaris plaything setup correctly, as they are wired it was fairly simple. My main box that I use for everything is slackware and has a NX server setup on it so I can connect remotely, but it is wireless and using DHCP. Depending on what other computers log on to the network and when my main box ends up on a different IP, hence my router no longer forwards the NX data through the firewall to the correct computer.

I know it's probably easy and I am missing something, but I searched and cannot find how to setup my wireless adapter for a static IP at boot.

All help is much appreciated.


Mike
 
Old 07-09-2005, 08:17 PM   #2
tmantist
Member
 
Registered: Jun 2005
Location: Florida, USA
Distribution: ~~~Slackware~~~
Posts: 86

Rep: Reputation: 15
help my friend is on the way

I think that you can setup a boot script or some lines to setup your wlan0 at boot time. You should read the man pages for ifconfig, iwpriv, iwconfig and related commands. My wireless card isn't setup right this instant, I just switched back from FreeBSD recently. These lines might work for you, if they don't see the man pages for ifconfig, iwconfig, etc.. Something like this.


try:
#double qoutes needed
#keyword any is needed
#WARNING these lines don't set the network key, so people can jack your wlan, read man pages for those commands

echo " iwconfig [name_of_wireless_device] [essid] key [encryption_key_in_hex] any " >> /etc/rc.d/rc.local
echo "iconfig [name_of_wireless_device] up" >> /etc/rc.d/rc.local

Check the wlan how-to in your '/usr/share/doc/Linux-HOWTOs/' or on tldp.org if you don't have HOWTOs installed. I think that your not all that new to Unix, Solaris- the stable unfriendly beast I'v heard.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 10:51 AM
Static entries for wlan card? houler Linux - Wireless Networking 2 05-15-2005 09:06 AM
Dell wireless WLAN 1450 Dual Band WLAN Mini-PCI card not recognised pitts68 Linux - Wireless Networking 102 02-28-2005 07:21 AM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 11:13 AM
wlan-ng problems (senao/engenius wlan usb adapter) poo bear Linux - Wireless Networking 6 05-05-2004 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration