LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wireless configuration CENTOS (https://www.linuxquestions.org/questions/linux-newbie-8/wireless-configuration-centos-4175439219/)

sk8ermeb 11-28-2012 07:17 PM

Wireless configuration CENTOS
 
I still consider myself a newbie with linux so please bare with me. I have a wireless card installed( RT3060 Wireless 802.11n 1T/1R) i believe correctly because I can use
iwlist ra0 scanning

and all of my networks come up. But whenever i try to use the iwconfig command is appears that nothing is actually being changed, even when I try running the sudo command first.

[root@server network-scripts]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

ra0 Ralink STA ESSID:"" Nickname:"RT3562STA"
Mode:Auto Frequency=2.412 GHz Bit Rate=1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[root@server network-scripts]# iwconfig ra0 essid HouseWireless
[root@server network-scripts]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

ra0 Ralink STA ESSID:"" Nickname:"RT3562STA"
Mode:Auto Frequency=2.412 GHz Bit Rate=1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


I have tried putting sudo before the command and putting everything into an ifcfg-ra0 network script. When I put everything into the script I can bring the interface up with ifup error free and there are still no settings entered of iwconfig. Of course ifconfig just has

ra0 Link encap:Ethernet HWaddr 00:1A:EF:27:1C:0B
inet6 addr: fe80::21a:efff:fe27:1c0b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21644 errors:0 dropped:0 overruns:0 frame:0
TX packets:16172 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5101081 (4.8 MiB) TX bytes:0 (0.0 b)
Interrupt:20

Please I have read maybe 50 forum posts today and am about to give up. Also I have disabled network manager so I can configure manually. I have no GUI installed because I dont want to. My goal is to make an FTP server and I want to minimize my resources. Thank you in advance

unSpawn 11-29-2012 07:11 AM

Quote:

Originally Posted by sk8ermeb (Post 4839131)
I still consider myself a newbie with linux so please bare with me.

Welcome to LQ, hope you like it here.


Quote:

Originally Posted by sk8ermeb (Post 4839131)
I have a wireless card installed( RT3060 Wireless 802.11n 1T/1R) i believe correctly because I can use iwlist ra0 scanning and all of my networks come up.

You mean you can list the Access Points around you.


Quote:

Originally Posted by sk8ermeb (Post 4839131)
(..) I have disabled network manager so I can configure manually. I have no GUI installed because I dont want to. My goal is to make an FTP server and I want to minimize my resources.

Commendable, plus it forces you to get to know the components involved (kernel device driver, network and device configuration, AP authentication, DHCP client). Best start with "The Linux Wireless LAN Howto" as it teaches you the Wireless basics. Since you have already got the driver loaded I suggest you begin reading from the wpa_supplicant section down because AP authentication will be the next application to configure. Once you've configured and activated things check your iwconfig and /var/log/messages.

sk8ermeb 11-29-2012 12:05 PM

Thank you unSpawn! I was reading through the link you provided and figured out I had to use iwpriv with the commands provided in the driver source code to set all the settings and it works!

unSpawn 11-29-2012 01:11 PM

Self-reliance is invaluable. Well done fixing things yourself.


All times are GMT -5. The time now is 01:57 PM.