LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Wireless configuration editor? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-configuration-editor-428808/)

paddyjoy 03-26-2006 08:39 PM

Wireless configuration editor?
 
I was just wondering what people use for configuring their wireless cards. At the moment I use a script like this in my /etc/rc5.d/ directory but it would be nice if non-root users could easily change the wireless setting using some form of gui.

Any recomendations?

Paddy

Code:

#!/bin/bash
#
# Wireless setup
#
# Author:      P Joy
# description:  Set up wireless network card
#

modprobe ath_pci
modprobe wlan_scan_sta

ifconfig ath0 up

iwconfig ath0 key "s:paddyjoy"
ifconfig ath0 192.168.17.126 netmask 255.255.255.0
route add default gw 192.168.17.1


Brian1 03-27-2006 04:45 PM

I am basing my questions on the tag of FC4 you list to the side.
Is this not listed in the Network Configuration Tool in your Start Menu?

I would put the modprobe lines in /etc/rc.local. Same for the rest. But on reboot they will return to these settings. Since running atheoes madwifi drivers does the file /etc/sysconfig/netwoking-scripts/ifcfg-ath0 exist? This is where default madwifi location for FC4 would go.

Example: of my ifcfg-ath0
Code:

# NAME='Linksys WPC55AG'
# STARTMODE='auto'
ONBOOT=no
DEVICE=ath0
# ESSID=default
MODE=Managed
# BOOTPROTO=dhcp
BOOTPROTO=none
WIRELESS=yes
IPADDR=192.168.1.158
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
# KEY=##########    # 64bit - 10 variables long
KEY=##########################    #128bit - 26 variables long
RATE=auto
# IWPRIV="authmode 1"
TYPE=Unknown

Brian1

paddyjoy 03-27-2006 08:01 PM

I forgot to update my profile I'm on FC5 now :-)

No the file /etc/sysconfig/netwoking-scripts/ifcfg-ath0 doesn't exist and the ath0 device doesn't show up in the network manager. Should I create this file manually myself or is there a better way?

Thanks,
Paddy

fortezza 06-10-2006 12:26 AM

Quote:

Originally Posted by paddyjoy
I forgot to update my profile I'm on FC5 now :-)

No the file /etc/sysconfig/netwoking-scripts/ifcfg-ath0 doesn't exist and the ath0 device doesn't show up in the network manager. Should I create this file manually myself or is there a better way?

Thanks,
Paddy

For it to work, you need to get the module loaded and alias it to ath0. After that, you can set up the networking script ( ifcfg-ath0 ) to configure the card.


All times are GMT -5. The time now is 07:13 PM.