Re: Enabling Wireless network without NetworkManager
I was watching this thread, I think this may work for you (it is working for me as of today). This is what is in my file, I have my wireless device setup in a bond with the wired device, so I can unplug and wireless takes over and then plug in and it goes back to wired. I have network manager installed but disabled, I have not done a full reboot test to determine full steps, but have shutdown wireless and rmmod'ed the modules and then put them back and got it to work with the below steps (assuming bond0 was already up, if it is not "ifup bond0 ; ifup eth0" would be required to get it up. i To bring it up I had to do (assuming bond0 is already up and running on wired) rfkill unblock wifi ifup ifcfg-bond0 looks like this (note I am using static in my house, not sure how well it will work full dhcp). DEVICE=bond0 TYPE=Ethernet BOOTPROTO=static MANAGED=no USE_NM=false MODE=Unmanaged ONBOOT=yes USERCTL=no MASTER=yes IPADDR=192.168.1.103 NETMASK=255.255.255.0 NETWORK=192.168.1.0 BROADCAST=192.168.1.255 GATEWAY=192.168.1.1 BONDING_OPTS="mode=1 primary=eth0 use_carrier=1 miimon=100" ifcfg-eth0 looks like this: DEVICE=eth0 BOOTPROTO=static SLAVE=yes NAME=eth0 USE_NM=false ONBOOT=yes HWADDR=2c:41:38:5e:72:86 TYPE=Ethernet MASTER=bond0 USERCTL=no ifcfg-myconnectionname. (wireless connection) DEVICE=wlan2 ESSID="putyouressid" MODE=Managed KEY_MGMT=WPA-PSK WPA_PSK="putkeyhere" TYPE=Wireless BOOTPROTO=none MASTER=bond0 SLAVE=yes DEFROUTE=no IPV4_FAILURE_FATAL=yes IPV6INIT=no IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_PEERDNS=yes IPV6_PEERROUTES=yes IPV6_FAILURE_FATAL=no NAME="putyourconnectionnamehere" UUID= ONBOOT=yes PEERDNS=no PEERROUTES=no -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
On Mon, 31 Dec 2012 14:49:52 +0100 Timothy Murphy wrote: > Jim wrote: > > > Module rt2800pci is loading and I can read MAC# of wireless card > > As a matter of interest, > what command do you give to see the MAC address? > > Assuming this was with iwconfig, > I would have thought it showed you were almost there, > as someone else suggested. > > Maybe you have to give direct "ip route" or "route" commands > to specify the routing setup? > I prefer the output from the old "route" command, > which seems to me to be more easily understood. > Maybe commands like > route delete default > route add default gw 192.168.1.33 > ? In addition, what security protocol are you using? If the access point is set up for WPA, you need to configure and run the wpa_supplicant service, which is supposed to do the appropriate key negotiation with the access point, before the dhcp server gives you info about your IP, gateway etc. NetworkManager uses the wpa_supplicant internally and transparently. The old network service scripts do not. So if you are not using NM, then you need to configure it manually and enable it via systemctl, so that it runs as a daemon and steps in when necessary. man wpa_supplicant man wpa_supplicant.conf man wpa_cli HTH, :-) Marko -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
Jim wrote: > Module rt2800pci is loading and I can read MAC# of wireless card As a matter of interest, what command do you give to see the MAC address? Assuming this was with iwconfig, I would have thought it showed you were almost there, as someone else suggested. Maybe you have to give direct "ip route" or "route" commands to specify the routing setup? I prefer the output from the old "route" command, which seems to me to be more easily understood. Maybe commands like route delete default route add default gw 192.168.1.33 ? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
On 12/29/2012 05:27 PM, Jim wrote: > Fedora 17 / KDE > > How do I enable Wireless network, > > NetworkManager is disabled. > > Wired Network is functioning normal. > > I'm sure that all I have to do is enable the Wireless Network. > > Module rt2800pci is loading and I can read MAC# of wireless card > > ifcfg-wlan below > > # Please read /usr/share/doc/initscripts-*/sysconfig.txt > # for the documentation of these parameters. > BOOTPROTO=dhcp > TYPE=Wireless > HWADDR=00:15:af:e5:0b:49 > GATEWAY=192.168.1.1 > ONBOOT=yes > USERCTL=yes > PEERDNS=no > IPV6INIT=no > ESSID=dd-wrt > MODE=Managed > RATE=auto > NM_CONTROLLED=no > DNS2=8.8.0.0 > DNS1=8.8.8.8 > CHANNEL= Try to get it working manually, by using iwconfig commands to configure the interface at the point where you see the "Access Point" mac address shown in the iwconfig output, that means the radio layer is ok and you're just missing IP, DNS and routes. After succeeding manually, try to understand what the network scripts do differently. You can place a few "set -x" inside the scripts to see what they are doing. The problem could be related to the fact that some settings (channel, SSID, ...) are only changeable when the interface is down (or up) and that appears to be not consistent between drivers. (ifconfig wlan0 up/down) (I personally lost my patience with NetworkManager, which is a mess, AND with network scripts, which are obviously abandoned; so I just have my own scripts to handle the connections). -- Roberto Ragusamail at robertoragusa.it -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
It won't accept the key and the mode. It will only accept Mode as Managed. the key is the one in the router, under Wireless Security . The problem is the wireless network is not starting. It cannot find the Gateway 192.168.1.1 , and that is the correct setting How do you start the wireless network ? Remember I'm not using NetworkManager Use wicd instead of NM. The network service apparently will *never* start a wireless device. It may have once upon a time, but not now. (I can't remember if it ever did, or not) Yum install wicd* should install what you need, then systemctl enable wicd.service systemctl start wicd.service Geoff -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
Jim wrote: >> Maybe also (if necessary) >>iwconfig wlan0 ssid SSID-NAME >>iwconfig wlan0 key YOUR-KEY >>iwconfig wlan0 mode RESTRICTED or OPEN > It won't accept the key and the mode. It will only accept Mode as > Managed. the key is the one in the router, under Wireless Security . > > The problem is the wireless network is not starting. It cannot find the > Gateway 192.168.1.1 , and that is the correct setting > > How do you start the wireless network ? > > Remember I'm not using NetworkManager I agree, Fedora WiFi is very badly organized. NM is appallingly badly documented, and the old network interface has got mixed up with NM. As for kdenetwork this simply makes a bad situation even worse. NM has become ludicrously complicated. It is trying to do too many different things; in my view it should just concentrate on WiFi. I sympathise with you completely. The only further suggestions I have are 1) try system-config-network 2) choose your IP address, and try "sudo ifconfig wlan0 192.168.2.7" or whatever 3) see what appears in /var/log/messages 4) make sure your AP is working ok, maybe re-start it. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
On 12/30/2012 05:53 AM, Timothy Murphy wrote: Jim wrote: i may be looking at this wrong, tho i am curious if you have run "iwconfig" to set up your wireless interface. yes, It showed ifcfg-wlan0 in my orignal message I would run iwconfig or ifconfig to see what the interface is called, and then sudo ifconfig wlan0 up if it is called wlan0. Maybe also (if necessary) iwconfig wlan0 ssid SSID-NAME iwconfig wlan0 key YOUR-KEY iwconfig wlan0 mode RESTRICTED or OPEN It won't accept the key and the mode. It will only accept Mode as Managed. the key is the one in the router, under Wireless Security . The problem is the wireless network is not starting. It cannot find the Gateway 192.168.1.1 , and that is the correct setting How do you start the wireless network ? Remember I'm not using NetworkManager -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
Jim wrote: >> i may be looking at this wrong, tho i am curious if you have run >> "iwconfig" to set up your wireless interface. > yes, It showed ifcfg-wlan0 in my orignal message I would run iwconfig or ifconfig to see what the interface is called, and then sudo ifconfig wlan0 up if it is called wlan0. Maybe also (if necessary) iwconfig wlan0 ssid SSID-NAME iwconfig wlan0 key YOUR-KEY iwconfig wlan0 mode RESTRICTED or OPEN -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
On 12/29/2012 04:53 PM, Jim wrote: > On 12/29/2012 05:50 PM, g wrote: >> On 12/29/2012 10:08 PM, Jim wrote: >> <> >> >> >>> Now I want to get the Wireless card working on this laptop. >>> But when I try to reboot to load Wireless , the Network won't start, it >>> FAILs . >> i do not have any wireless working with my desk top box at this time, >> but i did some reading a while back and some skimming just now. >> >> i may be looking at this wrong, tho i am curious if you have run >> "iwconfig" to set up your wireless interface. >> >> >> > ifcfg-wlan below > > # Please read /usr/share/doc/initscripts-*/sysconfig.txt > # for the documentation of these parameters. > BOOTPROTO=dhcp > TYPE=Wireless > HWADDR=00:15:af:e5:0b:49 > GATEWAY=192.168.1.1 > ONBOOT=yes > USERCTL=yes > PEERDNS=no > IPV6INIT=no > ESSID=dd-wrt > MODE=Managed > RATE=auto > NM_CONTROLLED=no > DNS2=8.8.0.0 > DNS1=8.8.8.8 > CHANNEL= > > OK, this may be dumb, but you referred to "wlan0" in an earlier message. What if you rename this file to "ifcfg-wlan0" then try "ifup wlan0"? -- -- Steve -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
On 12/29/2012 05:43 PM, Timothy Murphy wrote: Jim wrote: Alternatively, you could try using the network service instead: sudo systemctl start network.service I don't want to use NetworkManager, have deleted it. ( Please don't bring up NetworkManager any more, It is against my religion to even talk about it) My Religion is A PISS OFF NETWORKMANAGER USER. I have eth0 ethernet working. Now I want to get the Wireless card working on this laptop. But when I try to reboot to load Wireless , the Network won't start, it FAILs . Why don't you try the network service, as I suggested above? It is not the same as NetworkManager. I did that but Network won't start for wlan0. But it will start for eth0 eathernet. Before you do that you could try sudo iwlist scan to see if any access points are actually accessible. iwlist scan , does show my Router -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
On 12/29/2012 05:50 PM, g wrote: On 12/29/2012 10:08 PM, Jim wrote: <> Now I want to get the Wireless card working on this laptop. But when I try to reboot to load Wireless , the Network won't start, it FAILs . i do not have any wireless working with my desk top box at this time, but i did some reading a while back and some skimming just now. i may be looking at this wrong, tho i am curious if you have run "iwconfig" to set up your wireless interface. ifcfg-wlan below # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. BOOTPROTO=dhcp TYPE=Wireless HWADDR=00:15:af:e5:0b:49 GATEWAY=192.168.1.1 ONBOOT=yes USERCTL=yes PEERDNS=no IPV6INIT=no ESSID=dd-wrt MODE=Managed RATE=auto NM_CONTROLLED=no DNS2=8.8.0.0 DNS1=8.8.8.8 CHANNEL= -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
On 12/29/2012 05:50 PM, g wrote: On 12/29/2012 10:08 PM, Jim wrote: <> Now I want to get the Wireless card working on this laptop. But when I try to reboot to load Wireless , the Network won't start, it FAILs . i do not have any wireless working with my desk top box at this time, but i did some reading a while back and some skimming just now. i may be looking at this wrong, tho i am curious if you have run "iwconfig" to set up your wireless interface. yes, It showed ifcfg-wlan0 in my orignal message -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
On 12/29/2012 10:08 PM, Jim wrote: <> > Now I want to get the Wireless card working on this laptop. > But when I try to reboot to load Wireless , the Network won't start, it > FAILs . i do not have any wireless working with my desk top box at this time, but i did some reading a while back and some skimming just now. i may be looking at this wrong, tho i am curious if you have run "iwconfig" to set up your wireless interface. -- peace out. tc.hago, g . signature.asc Description: OpenPGP digital signature -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
Jim wrote: >> Alternatively, you could try using the network service instead: >>sudo systemctl start network.service > I don't want to use NetworkManager, have deleted it. ( Please don't > bring up NetworkManager any more, It is against my religion to even > talk about it) My Religion is A PISS OFF NETWORKMANAGER USER. > > I have eth0 ethernet working. > > Now I want to get the Wireless card working on this laptop. > But when I try to reboot to load Wireless , the Network won't start, it > FAILs . Why don't you try the network service, as I suggested above? It is not the same as NetworkManager. Before you do that you could try sudo iwlist scan to see if any access points are actually accessible. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
On 12/29/2012 04:13 PM, Timothy Murphy wrote: Jim wrote: Fedora 17 / KDE How do I enable Wireless network, NetworkManager is disabled. Wired Network is functioning normal. I'm sure that all I have to do is enable the Wireless Network. Module rt2800pci is loading and I can read MAC# of wireless card ifcfg-wlan below # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. BOOTPROTO=dhcp TYPE=Wireless HWADDR=00:15:af:e5:0b:49 GATEWAY=192.168.1.1 ONBOOT=yes USERCTL=yes PEERDNS=no IPV6INIT=no ESSID=dd-wrt MODE=Managed RATE=auto NM_CONTROLLED=no DNS2=8.8.0.0 DNS1=8.8.8.8 CHANNEL= I'm not sure exactly what you want to do. If you want to enable NM (NetworkManager) you'd have to change the line NM_CONTROLLED=no to NM_CONTROLLED=yes in ifcfg-wlan above, and then say sudo systemctl enable NetworkManager.service and sudo systemctl start NetworkManager.service and if you like sudo systemctl status NetworkManager.service Alternatively, you could try using the network service instead: sudo systemctl start network.service I don't want to use NetworkManager, have deleted it. ( Please don't bring up NetworkManager any more, It is against my religion to even talk about it) My Religion is A PISS OFF NETWORKMANAGER USER. I have eth0 ethernet working. Now I want to get the Wireless card working on this laptop. But when I try to reboot to load Wireless , the Network won't start, it FAILs . -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Enabling Wireless network without NetworkManager
Jim wrote: > Fedora 17 / KDE > > How do I enable Wireless network, > > NetworkManager is disabled. > > Wired Network is functioning normal. > > I'm sure that all I have to do is enable the Wireless Network. > > Module rt2800pci is loading and I can read MAC# of wireless card > > ifcfg-wlan below > > # Please read /usr/share/doc/initscripts-*/sysconfig.txt > # for the documentation of these parameters. > BOOTPROTO=dhcp > TYPE=Wireless > HWADDR=00:15:af:e5:0b:49 > GATEWAY=192.168.1.1 > ONBOOT=yes > USERCTL=yes > PEERDNS=no > IPV6INIT=no > ESSID=dd-wrt > MODE=Managed > RATE=auto > NM_CONTROLLED=no > DNS2=8.8.0.0 > DNS1=8.8.8.8 > CHANNEL= I'm not sure exactly what you want to do. If you want to enable NM (NetworkManager) you'd have to change the line NM_CONTROLLED=no to NM_CONTROLLED=yes in ifcfg-wlan above, and then say sudo systemctl enable NetworkManager.service and sudo systemctl start NetworkManager.service and if you like sudo systemctl status NetworkManager.service Alternatively, you could try using the network service instead: sudo systemctl start network.service -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org