Re: Re: Wireless AP setup: RTL8188CUS
Dear Pal, Dear Debian users, Did you able to find something with this problem? I have an RTL8192CU, but I'm not able to m make it work. It's working as a client, but not as an Access point. If I try to start hostapd with minimal config I got the following: *Could not open file /sys/class/net/wlan0/phy80211/name: No such file or directory* May I ask for some kind if tutorial if possible? Thanks in advance! Laszlo Kohari
Re: Wireless AP setup: RTL8188CUS
László Kohári l.koh...@magisz06-10b.hu writes: Dear Pal, Dear Debian users, Did you able to find something with this problem? I have an RTL8192CU, but I'm not able to m make it work. It's working as a client, but not as an Access point. If I try to start hostapd with minimal config I got the following: Could not open file /sys/class/net/wlan0/phy80211/name: No such file or directory May I ask for some kind if tutorial if possible? I did not able to find a solution. However, maybe you find here the solution: http://sirlagz.net/2012/08/09/how-to-use-the-raspberry-pi-as-a-wireless-access-pointrouter-part-1/ -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87bnjg6ekd@gmail.com
Re: Wireless AP setup: RTL8188CUS
I missed the first part of this thread. Which chip does your wifi device contain? Your driver specification below doesn't look right. And bridging isn't necessary to set up an AP on one NIC and access to the internet from that via the second NIC. On 03/13/2014 08:31 PM Selim T. Erdogan wrote: Csanyi Pal, 2.03.2014: However, I'm still trying to set this to work. I'm trying to test hostapd by using the file hostapd-minimal.conf: interface=wlan0 driver=nl80211 ssid=test channel=1 bridge=br0 end of file and when I run the following command: csanyipal@b2:~$ sudo hostapd /etc/hostapd/hostapd-minimal.conf Configuration file: /etc/hostapd/hostapd-minimal.conf rfkill: Cannot open RFKILL control device Could not set interface mon.wlan0 flags: No such device nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed. Can you check whether your device is capable of being put into AP mode? (Some devices don't support it, as far as I know.) I don't remember the exact command, but you should be able to do it using iw or iwconfig. but does'n lose the ssh connection anymore with Bubba Two. :) Now I have the followings in my interfaces file: auto lo br0 iface lo inet loopback # Internet on eth0 allow-hotplug eth0 iface eth0 inet manual # wifi on wlan0 allow-hotplug wlan0 iface wlan0 inet manual # Bridge setup # for dhcp address iface br0 inet dhcp bridge_ports eth0 wlan0 # dns-* options are implemented by the resolvconf package, if installed # I want to remain my wired LAN # LAN on eth1 allow-hotplug eth1 iface eth1 inet static address 192.168.10.1 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 gateway 192.168.10.1 dns-nameservers 192.168.10.1 dns-search localdomain end of file With this setup I can't only reach the Internet, but can to ssh into Bubba Two. Several questions, for clarification: You ssh from your sid desktop into the Bubba Two, right? Do you define a static IP on your sid desktop for this? It's the desktop that can't reach the Internet, right? Once you ssh into the Bubba Two, can you reach the Internet on the command line of the Bubba Two? Were you able to reach the Internet from you desktop, going through the Bubba Two, before attempting to se up the AP? (If not, I think you should try to achieve that first, before confusing things further with the AP setup) For the AP, the diagram you sent in earlier messages showed it being attached to eth0. Is that correct? I would have thought it should be attached to your LAN (thus to eth0). Do you plan to define static IP addresses on the wireless devices you'll use with your AP, or are you planning on using dhcp? Selim The command sudo ifconfig gives to me the followings: br0 Link encap:Ethernet HWaddr 00:22:02:00:07:3c inet addr:95.85.167.81 Bcast:95.85.167.255 Mask:255.255.252.0 inet6 addr: fe80::222:2ff:fe00:73c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7577 errors:0 dropped:0 overruns:0 frame:0 TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:360740 (352.2 KiB) TX bytes:8581 (8.3 KiB) eth0 Link encap:Ethernet HWaddr 00:22:02:00:07:3c UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7577 errors:0 dropped:0 overruns:0 frame:0 TX packets:57 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:588072 (574.2 KiB) TX bytes:8047 (7.8 KiB) Base address:0x8000 eth1 Link encap:Ethernet HWaddr 00:22:02:00:07:3d inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::222:2ff:fe00:73d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3116 errors:0 dropped:0 overruns:0 frame:0 TX packets:4157 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:318666 (311.1 KiB) TX bytes:343364 (335.3 KiB) Base address:0xc000 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2524 errors:0 dropped:0 overruns:0 frame:0 TX packets:2524 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:215081 (210.0 KiB) TX bytes:215081 (210.0 KiB) wlan0 Link encap:Ethernet HWaddr 00:e0:4c:81:92:0e BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) How can I setup my home network so I can use wifi AP and the
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal, 2.03.2014: However, I'm still trying to set this to work. I'm trying to test hostapd by using the file hostapd-minimal.conf: interface=wlan0 driver=nl80211 ssid=test channel=1 bridge=br0 end of file and when I run the following command: csanyipal@b2:~$ sudo hostapd /etc/hostapd/hostapd-minimal.conf Configuration file: /etc/hostapd/hostapd-minimal.conf rfkill: Cannot open RFKILL control device Could not set interface mon.wlan0 flags: No such device nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed. Can you check whether your device is capable of being put into AP mode? (Some devices don't support it, as far as I know.) I don't remember the exact command, but you should be able to do it using iw or iwconfig. but does'n lose the ssh connection anymore with Bubba Two. :) Now I have the followings in my interfaces file: auto lo br0 iface lo inet loopback # Internet on eth0 allow-hotplug eth0 iface eth0 inet manual # wifi on wlan0 allow-hotplug wlan0 iface wlan0 inet manual # Bridge setup # for dhcp address iface br0 inet dhcp bridge_ports eth0 wlan0 # dns-* options are implemented by the resolvconf package, if installed # I want to remain my wired LAN # LAN on eth1 allow-hotplug eth1 iface eth1 inet static address 192.168.10.1 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 gateway 192.168.10.1 dns-nameservers 192.168.10.1 dns-search localdomain end of file With this setup I can't only reach the Internet, but can to ssh into Bubba Two. Several questions, for clarification: You ssh from your sid desktop into the Bubba Two, right? Do you define a static IP on your sid desktop for this? It's the desktop that can't reach the Internet, right? Once you ssh into the Bubba Two, can you reach the Internet on the command line of the Bubba Two? Were you able to reach the Internet from you desktop, going through the Bubba Two, before attempting to se up the AP? (If not, I think you should try to achieve that first, before confusing things further with the AP setup) For the AP, the diagram you sent in earlier messages showed it being attached to eth0. Is that correct? I would have thought it should be attached to your LAN (thus to eth0). Do you plan to define static IP addresses on the wireless devices you'll use with your AP, or are you planning on using dhcp? Selim The command sudo ifconfig gives to me the followings: br0 Link encap:Ethernet HWaddr 00:22:02:00:07:3c inet addr:95.85.167.81 Bcast:95.85.167.255 Mask:255.255.252.0 inet6 addr: fe80::222:2ff:fe00:73c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7577 errors:0 dropped:0 overruns:0 frame:0 TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:360740 (352.2 KiB) TX bytes:8581 (8.3 KiB) eth0 Link encap:Ethernet HWaddr 00:22:02:00:07:3c UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7577 errors:0 dropped:0 overruns:0 frame:0 TX packets:57 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:588072 (574.2 KiB) TX bytes:8047 (7.8 KiB) Base address:0x8000 eth1 Link encap:Ethernet HWaddr 00:22:02:00:07:3d inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::222:2ff:fe00:73d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3116 errors:0 dropped:0 overruns:0 frame:0 TX packets:4157 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:318666 (311.1 KiB) TX bytes:343364 (335.3 KiB) Base address:0xc000 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2524 errors:0 dropped:0 overruns:0 frame:0 TX packets:2524 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:215081 (210.0 KiB) TX bytes:215081 (210.0 KiB) wlan0 Link encap:Ethernet HWaddr 00:e0:4c:81:92:0e BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) How can I setup my home network so I can use wifi AP and the eth1 LAN at same time? What can I do further to get this works? Any advices will be appreciated! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact
Re: Wireless AP setup: RTL8188CUS
Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. WI1 chip1: Realtek RTL8188CUS I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. I builded the custom kernel version 2.6.39.4-13 with module rtl8192cu and reboot with this kernel. So the kernel part of the setup is OK now. I also have installed the firmware-realtek debian package which contains the following among others: Realtek RTL8192CU/RTL8188CU firmware (rtlwifi/rtl8192cufw.bin) I edited the file /etc/udev/rules.d/70-persistent-net.rules and have the following line that determine the wlan0 interface: # USB device 0x:0x (rtl8192cu) SUBSYSTEM==net, ACTION==add, DRIVERS==?*, \ ATTR{address}==00:e0:4c:81:92:*, ATTR{dev_id} \ ==0x0, ATTR{type}==1, KERNEL==wlan*, NAME=wlan0 The ATTR{address}==00:e0:4c:81:92:* option determine that that whenever I plug in again this usb wifi adapter to the usb port, I get always the wlan0 name for this interface. Here is the * character is the relevant, because that part of the mac address changes always, when one plug in the adapter again and again. Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: FCC ID: T58WF2120R https://apps.fcc.gov/oetcf/eas/reports/GenericSearchResult \ .cfm?RequestTimeout=500 When I run the command bellow: sudo hostapd -dd /etc/hostapd/hostapd.conf I get the messages: random: Trying to read entropy from /dev/random Configuration file: /etc/hostapd/hostapd.conf Line 6: invalid/unknown driver 'rtl8192sfw' 1 errors found in configuration file '/etc/hostapd/hostapd.conf' I tried with driver names: rtl8192cu FWIW that's the one I'd try (only if the stock module failed would I compile one from non-Debian source). , rtlwifi to, but without any success. Which drivername is walid? How can I find the proper drivername for my usb wireless network adapter? No, I think no. Regardnig to the web page: http://wireless.kernel.org/en/users/Documentation/hostapd quote All new mac80211 based drivers that implement AP functionality are supported with hostapd's nl80211 driver. /quote so, I think I must to use the 'nl80211' nema for the driver in the hostapd.conf file. However, I'm still trying to set this to work. I'm trying to test hostapd by using the file hostapd-minimal.conf: interface=wlan0 driver=nl80211 ssid=test channel=1 bridge=br0 end of file and when I run the following command: csanyipal@b2:~$ sudo hostapd /etc/hostapd/hostapd-minimal.conf Configuration file: /etc/hostapd/hostapd-minimal.conf rfkill: Cannot open RFKILL control device Could not set interface mon.wlan0 flags: No such device nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed. but does'n lose the ssh connection anymore with Bubba Two. :) Now I have the followings in my interfaces file: auto lo br0 iface lo inet loopback # Internet on eth0 allow-hotplug eth0 iface eth0 inet manual # wifi on wlan0 allow-hotplug wlan0 iface wlan0 inet manual # Bridge setup # for dhcp address iface br0 inet dhcp bridge_ports eth0 wlan0 # dns-* options are implemented by the resolvconf package, if installed # I want to remain my wired LAN # LAN on eth1 allow-hotplug eth1 iface eth1 inet static address 192.168.10.1 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 gateway 192.168.10.1 dns-nameservers 192.168.10.1 dns-search localdomain end of file With this setup I can't only reach the Internet, but can to ssh into Bubba Two. The command sudo ifconfig gives to me the followings: br0 Link encap:Ethernet HWaddr 00:22:02:00:07:3c inet addr:95.85.167.81 Bcast:95.85.167.255 Mask:255.255.252.0 inet6 addr: fe80::222:2ff:fe00:73c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7577 errors:0 dropped:0 overruns:0 frame:0 TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:360740 (352.2 KiB) TX bytes:8581 (8.3 KiB) eth0 Link encap:Ethernet HWaddr 00:22:02:00:07:3c UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7577 errors:0 dropped:0 overruns:0 frame:0 TX packets:57 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:588072 (574.2 KiB) TX bytes:8047 (7.8 KiB) Base address:0x8000 eth1 Link encap:Ethernet HWaddr 00:22:02:00:07:3d inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::222:2ff:fe00:73d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3116 errors:0 dropped:0 overruns:0 frame:0 TX packets:4157 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:318666 (311.1 KiB) TX
Re: Wireless AP setup: RTL8188CUS
Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 25/02/14 07:03, Csanyi Pal wrote: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Hi Selim, Selim T. Erdogan se...@alumni.cs.utexas.edu writes: Csanyi Pal, 3.02.2014: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. WI1 chip1: Realtek RTL8188CUS FCC ID: T58WF2120R https://apps.fcc.gov/oetcf/eas/reports/ \ GenericSearchResult.cfm?RequestTimeout=500 I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped snipped sudo make modules_install This did install the modules in the right place. Now I'm trying to setup the network and interfaces so get the usb wireless adapter to works. I'm following the advices described here: http://www.cyberciti.biz/faq/debian-ubuntu-linux-setting- \ wireless-access-point/ and here: https://agentoss.wordpress.com/2011/10/31/creating-a-wireless- \ access-point-with-debian-linux/ sofar without success.. When I run the command bellow: sudo hostapd -dd /etc/hostapd/hostapd.conf I get the messages: random: Trying to read entropy from /dev/random Configuration file: /etc/hostapd/hostapd.conf Line 6: invalid/unknown driver 'rtl8192sfw' 1 errors found in configuration file '/etc/hostapd/hostapd.conf' I tried with driver names: rtl8192cu FWIW that's the one I'd try (only if the stock module failed would I compile one from non-Debian source). , rtlwifi to, but without any success. Which drivername is walid? How can I find the proper drivername for my usb wireless network adapter? See above paragraph (based on the chipset from the FCCID) apropos of little what do you get from?:- $ mlocate rtl8192sfw Moreover, now, when I connect my usb wifi adapter to my Bubba 2, I get a new interface, the wlanN, where the N is a number, from 1 to 5 so far. That's as it should be I believe. How can I setup this, to always get the wlan0 name of the wifi interface? $ grep wlan /etc/udev/rules.d/70-persistent-net.rules if it's there (I don't have one I can check at present) then edit the entry matching the correct MAC address and change it's name from wlanN to wlan0, then remove the other wlanN lines. You'll need to be root to edit the file. OK, I have now the followings in my /etc/network/interfaces file: snipped # wifi on wlan0 allow-hotplug wlan0 iface wlan0 inet manual snipped Now, when I run the command: sudo ifup wlan0 I get nothing as output.. If I run it again, I get: ifup: interface wlan0 already configured Yes. ifup only does something if the net device is not up already. Instead try:- # ifdown wlan0;ifup wlan0 but, the command sudo ifconfig -a gives to me only: eth0 Link encap:Ethernet HWaddr 00:22:02:00:07:3c snipped eth1 Link encap:Ethernet HWaddr 00:22:02:00:07:3d snipped loLink encap:Local Loopback snipped and sudo iwconfig lono wireless extensions. eth0 no wireless extensions. eth1 no wireless extensions. Where is the wlan0 interface? You set it to manual (so it's off somewhere reading the manual?) ;p It's there, but you haven't specified it e.g.:- # iwconfig wlan0 which is why iwconfig it's trying all of the *configured* network devices. man interfaces snipped section The manual Method This method may be used to define interfaces for which *no* configuration is done by default. Such interfaces can be configured manually by means of up and down commands or /etc/net‐work/if-*.d scripts. What I take that to mean is - that unless you have something in /etc/network/if-*.d then the if up/down commands need to be qualified. .i.e issuing:- # ifup wlan0 is interpreted as do nothing to wlan0. Compare that to ifup eth1 which is interpreted as ifup eth1 use settings from section in interfaces $ sudo hostapd /etc/hostapd/hostapd-minimal.conf Configuration file: /etc/hostapd/hostapd-minimal.conf rfkill: Cannot open RFKILL control device Failed to update rate sets in kernel module Could not connect to kernel driver. and at this point I lose the ssh connection with Bubba. What can I do to solve this problem? I think I should buy another USB Wireless Adapter with Realtek RTL8187B chipset (802.11G) or the Atheros AR9170 chipset (802.11N). Right? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87zjlbughz@gmail.com
Re: Wireless AP setup: RTL8188CUS
Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 25/02/14 07:03, Csanyi Pal wrote: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Hi Selim, Selim T. Erdogan se...@alumni.cs.utexas.edu writes: Csanyi Pal, 3.02.2014: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. WI1 chip1: Realtek RTL8188CUS FCC ID: T58WF2120R https://apps.fcc.gov/oetcf/eas/reports/ \ GenericSearchResult.cfm?RequestTimeout=500 I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped snipped sudo make modules_install This did install the modules in the right place. Now I'm trying to setup the network and interfaces so get the usb wireless adapter to works. I'm following the advices described here: http://www.cyberciti.biz/faq/debian-ubuntu-linux- \ setting-wireless-access-point/ and here: https://agentoss.wordpress.com/2011/10/31/creating- \ a-wireless-access-point-with-debian-linux/ sofar without success.. When I run the command bellow: sudo hostapd -dd /etc/hostapd/hostapd.conf I get the messages: random: Trying to read entropy from /dev/random Configuration file: /etc/hostapd/hostapd.conf Line 6: invalid/unknown driver 'rtl8192sfw' 1 errors found in configuration file '/etc/hostapd/hostapd.conf' I tried with driver names: rtl8192cu FWIW that's the one I'd try (only if the stock module failed would I compile one from non-Debian source). , rtlwifi to, but without any success. Which drivername is walid? How can I find the proper drivername for my usb wireless network adapter? See above paragraph (based on the chipset from the FCCID) apropos of little what do you get from?:- $ mlocate rtl8192sfw $ mlocate rtl8192sfw /lib/firmware/RTL8192SU/rtl8192sfw.bin Moreover, now, when I connect my usb wifi adapter to my Bubba 2, I get a new interface, the wlanN, where the N is a number, from 1 to 5 so far. That's as it should be I believe. How can I setup this, to always get the wlan0 name of the wifi interface? $ grep wlan /etc/udev/rules.d/70-persistent-net.rules if it's there (I don't have one I can check at present) then edit the entry matching the correct MAC address and change it's name from wlanN to wlan0, then remove the other wlanN lines. You'll need to be root to edit the file. OK, I have now the followings in my /etc/network/interfaces file: snipped # wifi on wlan0 allow-hotplug wlan0 iface wlan0 inet manual snipped Now, when I run the command: sudo ifup wlan0 I get nothing as output.. If I run it again, I get: ifup: interface wlan0 already configured Yes. ifup only does something if the net device is not up already. Instead try:- # ifdown wlan0;ifup wlan0 but, the command sudo ifconfig -a gives to me only: eth0 Link encap:Ethernet HWaddr 00:22:02:00:07:3c snipped eth1 Link encap:Ethernet HWaddr 00:22:02:00:07:3d snipped loLink encap:Local Loopback snipped and sudo iwconfig lono wireless extensions. eth0 no wireless extensions. eth1 no wireless extensions. Where is the wlan0 interface? You set it to manual (so it's off somewhere reading the manual?) ;p It's there, but you haven't specified it e.g.:- # iwconfig wlan0 which is why iwconfig it's trying all of the *configured* network devices. man interfaces snipped section The manual Method This method may be used to define interfaces for which *no* configuration is done by default. Such interfaces can be configured manually by means of up and down commands or /etc/net‐work/if-*.d scripts. What I take that to mean is - that unless you have something in /etc/network/if-*.d then the if up/down commands need to be qualified. .i.e issuing:- # ifup wlan0 is interpreted as do nothing to wlan0. Compare that to ifup eth1 which is interpreted as ifup eth1 use settings from section in interfaces Well, my home network diagram is: Internet \ cable modem \ eth0 Bubba Two headless powerpc box - wlan0 - USB wifi adapter ))) eth1 \ switch \ eth0 Debian SID desktop ))) laptop ))) android mobile phone So I want to setup Bubba Two for my home wifi LAN for laptop and android mobile phone. My /etc/network/interfaces file is now, without the WiFi setup: interfaces auto lo br0 iface lo inet loopback # Internet on eth0 allow-hotplug eth0 iface eth0 inet dhcp # LAN on eth1 allow-hotplug eth1 iface eth1
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal csanyi...@gmail.com writes: snipped Well, my home network diagram is: More in detail: Internet dhcp server \ cable modem \ eth0 ( dhcp ) Bubba Two headless powerpc box -- wlan0 |USB wifi adapter |Wireless Access Point ))) | isc-dhcp-server eth1 \ switch \ eth0 ( dhcp ) Debian SID desktop ))) laptop ))) android mobile phone snipped -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/877g8hnmhg@gmail.com
Re: Wireless AP setup: RTL8188CUS
Hi Selim, Selim T. Erdogan se...@alumni.cs.utexas.edu writes: Csanyi Pal, 3.02.2014: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? Sorry (again). But I don't have clue. I can tell you how to suppress the warning (--disable-werror):- http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html but not how to fix the problem that generates it. I'm trying to fix this problem with installing gcc-4.4 on my Debian Wheezy system. Now when I have installed the gcc-4.4, I made a symbolic link: ls -l /usr/bin/gcc lrwxrwxrwx 1 root root 16 febr 2 06:34 /usr/bin/gcc - /usr/bin/gcc-4.4 The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6. Now I'm running the 'make' command in the kernel source file with the .config setup file. Sofar it is successfull, but it is ongoing yet. I'm waiting the make command to terminate successfull. It's done ( after 8 houers ): sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb bubba3-kernel_2.6.39.4-13_powerpc.deb (Adatbázis olvasása ... 76193 files and directories currently installed.) bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ... Csere kicsomagolása: bubba3-kernel-headers-powerpc ... Selecting previously unselected package bubba3-kernel. dpkg: considering removing bubba-kernel in favour of bubba3-kernel ... dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb ... Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ... Beállítás: bubba3-kernel (1:2.6.39.4-13) ... WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No such file or directory Well, about this WARNING at the end: is this serious? Should I reboot my Bubba box now safely? I did the followings. 1. dget -xu \ http://b3.update.excito.org/pool/main/l/linux/linux_2.6.39.4-13.dsc 2. cd linux-2.6.39.4/ 3. make menuconfig 4. Load the default excito configuration: From the menu, select Load an Alternate Configuration File and enter the following path: arch/powerpc/configs/bubbatwo_defconfig 5. I customize the kernel so I included the rtl8192cu driver as a Module. The resulting configuration are placed in arch/powerpc/configs/bubbatwo_defconfig 6. dpkg-buildpackage -us -uc -b -apowerpc 7. I get the resulting two packages in the parent directory:
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal csanyi...@gmail.com writes: Hi Selim, Selim T. Erdogan se...@alumni.cs.utexas.edu writes: Csanyi Pal, 3.02.2014: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? Sorry (again). But I don't have clue. I can tell you how to suppress the warning (--disable-werror):- http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html but not how to fix the problem that generates it. I'm trying to fix this problem with installing gcc-4.4 on my Debian Wheezy system. Now when I have installed the gcc-4.4, I made a symbolic link: ls -l /usr/bin/gcc lrwxrwxrwx 1 root root 16 febr 2 06:34 /usr/bin/gcc - /usr/bin/gcc-4.4 The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6. Now I'm running the 'make' command in the kernel source file with the .config setup file. Sofar it is successfull, but it is ongoing yet. I'm waiting the make command to terminate successfull. It's done ( after 8 houers ): sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb bubba3-kernel_2.6.39.4-13_powerpc.deb (Adatbázis olvasása ... 76193 files and directories currently installed.) bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ... Csere kicsomagolása: bubba3-kernel-headers-powerpc ... Selecting previously unselected package bubba3-kernel. dpkg: considering removing bubba-kernel in favour of bubba3-kernel ... dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb ... Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ... Beállítás: bubba3-kernel (1:2.6.39.4-13) ... WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No such file or directory Well, about this WARNING at the end: is this serious? Should I reboot my Bubba box now safely? I did the followings. 1. dget -xu \ http://b3.update.excito.org/pool/main/l/linux/linux_2.6.39.4-13.dsc 2. cd linux-2.6.39.4/ 3. make menuconfig 4. Load the default excito configuration: From the menu, select Load an Alternate Configuration File and enter the following path: arch/powerpc/configs/bubbatwo_defconfig 5. I customize the kernel so I included the rtl8192cu driver as a Module. The resulting configuration are placed in arch/powerpc/configs/bubbatwo_defconfig 6. dpkg-buildpackage -us -uc -b -apowerpc 7. I get the resulting two packages in the
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Hi Selim, Selim T. Erdogan se...@alumni.cs.utexas.edu writes: Csanyi Pal, 3.02.2014: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? Sorry (again). But I don't have clue. I can tell you how to suppress the warning (--disable-werror):- http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html but not how to fix the problem that generates it. I'm trying to fix this problem with installing gcc-4.4 on my Debian Wheezy system. Now when I have installed the gcc-4.4, I made a symbolic link: ls -l /usr/bin/gcc lrwxrwxrwx 1 root root 16 febr 2 06:34 /usr/bin/gcc - /usr/bin/gcc-4.4 The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6. Now I'm running the 'make' command in the kernel source file with the .config setup file. Sofar it is successfull, but it is ongoing yet. I'm waiting the make command to terminate successfull. It's done ( after 8 houers ): sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb bubba3-kernel_2.6.39.4-13_powerpc.deb (Adatbázis olvasása ... 76193 files and directories currently installed.) bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ... Csere kicsomagolása: bubba3-kernel-headers-powerpc ... Selecting previously unselected package bubba3-kernel. dpkg: considering removing bubba-kernel in favour of bubba3-kernel ... dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb ... Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ... Beállítás: bubba3-kernel (1:2.6.39.4-13) ... WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No such file or directory Well, about this WARNING at the end: is this serious? Should I reboot my Bubba box now safely? I did the followings. 1. dget -xu \ http://b3.update.excito.org/pool/main/l/linux/linux_2.6.39.4-13.dsc 2. cd linux-2.6.39.4/ 3. make menuconfig 4. Load the default excito configuration: From the menu, select Load an Alternate Configuration File and enter the following path: arch/powerpc/configs/bubbatwo_defconfig 5. I customize the kernel so I included the rtl8192cu driver as a Module. The resulting configuration are placed in arch/powerpc/configs/bubbatwo_defconfig 6. dpkg-buildpackage -us -uc -b -apowerpc
Re: Wireless AP setup: RTL8188CUS
On 25/02/14 07:03, Csanyi Pal wrote: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Hi Selim, Selim T. Erdogan se...@alumni.cs.utexas.edu writes: Csanyi Pal, 3.02.2014: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. WI1 chip1: Realtek RTL8188CUS FCC ID: T58WF2120R https://apps.fcc.gov/oetcf/eas/reports/GenericSearchResult.cfm?RequestTimeout=500 I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped snipped sudo make modules_install This did install the modules in the right place. Now I'm trying to setup the network and interfaces so get the usb wireless adapter to works. I'm following the advices described here: http://www.cyberciti.biz/faq/debian-ubuntu-linux-setting-wireless-access-point/ and here: https://agentoss.wordpress.com/2011/10/31/creating-a-wireless-access-point-with-debian-linux/ sofar without success.. When I run the command bellow: sudo hostapd -dd /etc/hostapd/hostapd.conf I get the messages: random: Trying to read entropy from /dev/random Configuration file: /etc/hostapd/hostapd.conf Line 6: invalid/unknown driver 'rtl8192sfw' 1 errors found in configuration file '/etc/hostapd/hostapd.conf' I tried with driver names: rtl8192cu FWIW that's the one I'd try (only if the stock module failed would I compile one from non-Debian source). , rtlwifi to, but without any success. Which drivername is walid? How can I find the proper drivername for my usb wireless network adapter? See above paragraph (based on the chipset from the FCCID) apropos of little what do you get from?:- $ mlocate rtl8192sfw Moreover, now, when I connect my usb wifi adapter to my Bubba 2, I get a new interface, the wlanN, where the N is a number, from 1 to 5 so far. That's as it should be I believe. How can I setup this, to always get the wlan0 name of the wifi interface? $ grep wlan /etc/udev/rules.d/70-persistent-net.rules if it's there (I don't have one I can check at present) then edit the entry matching the correct MAC address and change it's name from wlanN to wlan0, then remove the other wlanN lines. You'll need to be root to edit the file. OK, I have now the followings in my /etc/network/interfaces file: snipped # wifi on wlan0 allow-hotplug wlan0 iface wlan0 inet manual snipped Now, when I run the command: sudo ifup wlan0 I get nothing as output.. If I run it again, I get: ifup: interface wlan0 already configured Yes. ifup only does something if the net device is not up already. Instead try:- # ifdown wlan0;ifup wlan0 but, the command sudo ifconfig -a gives to me only: eth0 Link encap:Ethernet HWaddr 00:22:02:00:07:3c snipped eth1 Link encap:Ethernet HWaddr 00:22:02:00:07:3d snipped loLink encap:Local Loopback snipped and sudo iwconfig lono wireless extensions. eth0 no wireless extensions. eth1 no wireless extensions. Where is the wlan0 interface? You set it to manual (so it's off somewhere reading the manual?) ;p It's there, but you haven't specified it e.g.:- # iwconfig wlan0 which is why iwconfig it's trying all of the *configured* network devices. man interfaces snipped section The manual Method This method may be used to define interfaces for which *no* configuration is done by default. Such interfaces can be configured manually by means of up and down commands or /etc/net‐work/if-*.d scripts. What I take that to mean is - that unless you have something in /etc/network/if-*.d then the if up/down commands need to be qualified. .i.e issuing:- # ifup wlan0 is interpreted as do nothing to wlan0. Compare that to ifup eth1 which is interpreted as ifup eth1 use settings from section in interfaces Ref:- https://wiki.debian.org/WiFi https://wiki.debian.org/WiFi/HowToUse http://linux-wless.passys.nl/query_alles.php Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/530c06f3.9080...@gmail.com
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal, 3.02.2014: Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? Sorry (again). But I don't have clue. I can tell you how to suppress the warning (--disable-werror):- http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html but not how to fix the problem that generates it. I'm trying to fix this problem with installing gcc-4.4 on my Debian Wheezy system. Now when I have installed the gcc-4.4, I made a symbolic link: ls -l /usr/bin/gcc lrwxrwxrwx 1 root root 16 febr 2 06:34 /usr/bin/gcc - /usr/bin/gcc-4.4 The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6. Now I'm running the 'make' command in the kernel source file with the .config setup file. Sofar it is successfull, but it is ongoing yet. I'm waiting the make command to terminate successfull. It's done ( after 8 houers ): sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb bubba3-kernel_2.6.39.4-13_powerpc.deb (Adatbázis olvasása ... 76193 files and directories currently installed.) bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ... Csere kicsomagolása: bubba3-kernel-headers-powerpc ... Selecting previously unselected package bubba3-kernel. dpkg: considering removing bubba-kernel in favour of bubba3-kernel ... dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb ... Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ... Beállítás: bubba3-kernel (1:2.6.39.4-13) ... WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No such file or directory Well, about this WARNING at the end: is this serious? Should I reboot my Bubba box now safely? I did the followings. 1. dget -xu \ http://b3.update.excito.org/pool/main/l/linux/linux_2.6.39.4-13.dsc 2. cd linux-2.6.39.4/ 3. make menuconfig 4. Load the default excito configuration: From the menu, select Load an Alternate Configuration File and enter the following path: arch/powerpc/configs/bubbatwo_defconfig 5. I customize the kernel so I included the rtl8192cu driver as a Module. The resulting configuration are placed in arch/powerpc/configs/bubbatwo_defconfig 6. dpkg-buildpackage -us -uc -b -apowerpc 7. I get the resulting two packages in the parent directory: bubba3-kernel_2.6.39.4-13_powerpc.deb bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb 8. I
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? Sorry (again). But I don't have clue. I can tell you how to suppress the warning (--disable-werror):- http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html but not how to fix the problem that generates it. I'm trying to fix this problem with installing gcc-4.4 on my Debian Wheezy system. Now when I have installed the gcc-4.4, I made a symbolic link: ls -l /usr/bin/gcc lrwxrwxrwx 1 root root 16 febr 2 06:34 /usr/bin/gcc - /usr/bin/gcc-4.4 The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6. Now I'm running the 'make' command in the kernel source file with the .config setup file. Sofar it is successfull, but it is ongoing yet. I'm waiting the make command to terminate successfull. It's done ( after 8 houers ): sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb bubba3-kernel_2.6.39.4-13_powerpc.deb (Adatbázis olvasása ... 76193 files and directories currently installed.) bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ... Csere kicsomagolása: bubba3-kernel-headers-powerpc ... Selecting previously unselected package bubba3-kernel. dpkg: considering removing bubba-kernel in favour of bubba3-kernel ... dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb ... Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ... Beállítás: bubba3-kernel (1:2.6.39.4-13) ... WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No such file or directory Well, about this WARNING at the end: is this serious? Should I reboot my Bubba box now safely? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87sis0ci12@gmail.com
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? Sorry (again). But I don't have clue. I can tell you how to suppress the warning (--disable-werror):- http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html but not how to fix the problem that generates it. I'm trying to fix this problem with installing gcc-4.4 on my Debian Wheezy system. Now when I have installed the gcc-4.4, I made a symbolic link: ls -l /usr/bin/gcc lrwxrwxrwx 1 root root 16 febr 2 06:34 /usr/bin/gcc - /usr/bin/gcc-4.4 The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6. Now I'm running the 'make' command in the kernel source file with the .config setup file. Sofar it is successfull, but it is ongoing yet. I'm waiting the make command to terminate successfull. It's done ( after 8 houers ): sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb bubba3-kernel_2.6.39.4-13_powerpc.deb (Adatbázis olvasása ... 76193 files and directories currently installed.) bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ... Csere kicsomagolása: bubba3-kernel-headers-powerpc ... Selecting previously unselected package bubba3-kernel. dpkg: considering removing bubba-kernel in favour of bubba3-kernel ... dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb ... Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ... Beállítás: bubba3-kernel (1:2.6.39.4-13) ... WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No such file or directory Well, about this WARNING at the end: is this serious? Should I reboot my Bubba box now safely? I did the followings. 1. dget -xu \ http://b3.update.excito.org/pool/main/l/linux/linux_2.6.39.4-13.dsc 2. cd linux-2.6.39.4/ 3. make menuconfig 4. Load the default excito configuration: From the menu, select Load an Alternate Configuration File and enter the following path: arch/powerpc/configs/bubbatwo_defconfig 5. I customize the kernel so I included the rtl8192cu driver as a Module. The resulting configuration are placed in arch/powerpc/configs/bubbatwo_defconfig 6. dpkg-buildpackage -us -uc -b -apowerpc 7. I get the resulting two packages in the parent directory: bubba3-kernel_2.6.39.4-13_powerpc.deb bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb 8. I installed these packages with the command: sudo dpkg -i \ bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb \ bubba3-kernel_2.6.39.4-13_powerpc.deb I investigate a little and
Re: Wireless AP setup: RTL8188CUS
On 04/02/14 02:50, Csanyi Pal wrote: Csanyi Pal csanyi...@gmail.com writes: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? Sorry (again). But I don't have clue. I can tell you how to suppress the warning (--disable-werror):- http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html but not how to fix the problem that generates it. I'm trying to fix this problem with installing gcc-4.4 on my Debian Wheezy system. Now when I have installed the gcc-4.4, I made a symbolic link: ls -l /usr/bin/gcc lrwxrwxrwx 1 root root 16 febr 2 06:34 /usr/bin/gcc - /usr/bin/gcc-4.4 export CC=/usr/bin/gcc-4.4 (??) The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6. Now I'm running the 'make' command in the kernel source file with the .config setup file. Sofar it is successfull, but it is ongoing yet. I'm waiting the make command to terminate successfull. It's done ( after 8 houers ): sudo dpkg -i bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb bubba3-kernel_2.6.39.4-13_powerpc.deb (Adatbázis olvasása ... 76193 files and directories currently installed.) bubba3-kernel-headers-powerpc 1:2.6.39.4-13 cseréjének előkészítése (e csomaggal: bubba3-kernel-headers-powerpc_2.6.39.4-13_powerpc.deb) ... Csere kicsomagolása: bubba3-kernel-headers-powerpc ... Selecting previously unselected package bubba3-kernel. dpkg: considering removing bubba-kernel in favour of bubba3-kernel ... dpkg: yes, will remove bubba-kernel in favour of bubba3-kernel Kicsomagolás: bubba3-kernel innen: bubba3-kernel_2.6.39.4-13_powerpc.deb ... Beállítás: bubba3-kernel-headers-powerpc (1:2.6.39.4-13) ... Beállítás: bubba3-kernel (1:2.6.39.4-13) ... WARNING: could not open /lib/modules/2.6.39.4-13/modules.builtin: No such file or directory Well, about this WARNING at the end: is this serious? I'm not certain, but it doesn't 'sound' good :/ Should I reboot my Bubba box now safely? I'd wait for a suggestion from someone knowledgable on the subject (if possible). I also don't remove a working kernel until I've tested it's replacement (the original package might be in /var/cache/apt/archives). Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52f0364c.7050...@gmail.com
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal csanyi...@gmail.com writes: Csanyi Pal csanyi...@gmail.com writes: Brian a...@cityscape.co.uk writes: On Fri 31 Jan 2014 at 14:32:02 +0100, Csanyi Pal wrote: csanyipal@b2:/lib/modules/2.6.39.4-4/kernel/drivers$ grep -r 8192 * Binary file media/video/pvrusb2/pvrusb2.ko matches This kernel does not have the driver for your device. In another mail you wrote: So, again, maybe this is not right link for my Wheezy system.. This is because the linux image, the kernel is not supported yet by the Debian package management ( as I know ) for this peace of hardware, and the kernel must updated from excito.org. excito.org has a forum. Any help there? I'm trying to get help there too: http://forum.excito.net/viewtopic.php?f=9t=5166 My question is there and here the same: Can I just download the http://b3.update.excito.org/pool/main/l/linux/ \ bubba3-kernel_2.6.39.4-13_powerpc.deb kernel and can I install it with dpkg -i bubba3-kernel_2.6.39.4-13_powerpc.deb command? However, I red on the Wiki Excito about how to build a custom_kernel: http://wiki.excito.org/wiki/index.php/Building_a_custom_kernel and there are mentioned the following version of the kernel source: http://b3.update.excito.org/pool/main/l/linux/linux_2.6.39.4-13.dsc so I think that that it should be safe to install the binary bubba3-kernel_2.6.39.4-13_powerpc.deb, that I downloaded from the abowe mentioned link ( http://b3.update.excito.org/pool/main/l/linux/... ), right? Does this kernel 2.6.39.4-13 powerpc support the RTL8188CUS chipset? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87bnyr44qv@gmail.com
Re: Wireless AP setup: RTL8188CUS
On Sat 01 Feb 2014 at 09:27:36 +0100, Csanyi Pal wrote: Csanyi Pal csanyi...@gmail.com writes: so I think that that it should be safe to install the binary bubba3-kernel_2.6.39.4-13_powerpc.deb, that I downloaded from the abowe mentioned link ( http://b3.update.excito.org/pool/main/l/linux/... ), right? Does this kernel 2.6.39.4-13 powerpc support the RTL8188CUS chipset? Download the kernel and look inside it (I would use mc) to see what drivers it provides. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/01022014101126.86db92799...@desktop.copernicus.demon.co.uk
Re: Wireless AP setup: RTL8188CUS
Brian a...@cityscape.co.uk writes: On Sat 01 Feb 2014 at 09:27:36 +0100, Csanyi Pal wrote: Csanyi Pal csanyi...@gmail.com writes: so I think that that it should be safe to install the binary bubba3-kernel_2.6.39.4-13_powerpc.deb, that I downloaded from the abowe mentioned link ( http://b3.update.excito.org/pool/main/l/linux/... ), right? Does this kernel 2.6.39.4-13 powerpc support the RTL8188CUS chipset? Download the kernel and look inside it (I would use mc) to see what drivers it provides. I downloaded the bubba3-kernel_2.6.39.4-13_powerpc.deb and look inside it with MC. I searched for string '8192' in it but don't find anything. Maybe I should build a custom kernel as described here: http://wiki.excito.org/wiki/index.php/Building_a_custom_kernel and follow the advices described here: http://forum.excito.net/viewtopic.php?f=9t=4744 -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/8738k33z7n@gmail.com
Re: Wireless AP setup: RTL8188CUS
On 31/01/14 04:53, Csanyi Pal wrote: Hi, I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. I'm trying to follow these steps here: http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ lsusb shows it as: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter I also installed debian packages hostapd and firmware-realtek, and now I don't know what steps I need more to get this working? I want to use the ifupdown method described in the /usr/share/doc/hostapd/README.Debian file. However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52eccd94.5090...@gmail.com
Re: Wireless AP setup: RTL8188CUS
Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: Hi, I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. I'm trying to follow these steps here: http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi \ -hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ lsusb shows it as: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter I also installed debian packages hostapd and firmware-realtek, and now I don't know what steps I need more to get this working? I want to use the ifupdown method described in the /usr/share/doc/hostapd/README.Debian file. However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87ob2r2j7t@gmail.com
Re: Wireless AP setup: RTL8188CUS
On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: Hi, I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Sorry - if I knew that I would have posted a suggestion or answer sooner. I'd just noticed that it wasn't mentioned in the thread. Did you install the matching headers? Do you get a match on the chipset series when greping through the likely modules after piping through string? I did notice that chipset appearing in a list of aliases on that wiki page - that's one thing I'd check for. You could also check with the author of that wiki page (it's not one of mine). I don't have a similar chipset or much experience with wifi in general so it's very unlikely I could offer more help than you are already getting. Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52ece312.5050...@gmail.com
Re: Wireless AP setup: RTL8188CUS
On Sat 01 Feb 2014 at 11:27:08 +0100, Csanyi Pal wrote: Maybe I should build a custom kernel as described here: http://wiki.excito.org/wiki/index.php/Building_a_custom_kernel and follow the advices described here: http://forum.excito.net/viewtopic.php?f=9t=4744 Will the source for the kernel have the module you need? It might be less trouble to buy wifi device which is supported by your present kernel. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/01022014145943.4fd382197...@desktop.copernicus.demon.co.uk
Re: Wireless AP setup: RTL8188CUS
Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: Hi, I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/878utu32gw@gmail.com
Re: Wireless AP setup: RTL8188CUS
On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: Hi, I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? Sorry (again). But I don't have clue. I can tell you how to suppress the warning (--disable-werror):- http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html but not how to fix the problem that generates it. Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52ed8b92.6020...@gmail.com
Re: Wireless AP setup: RTL8188CUS
Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 02/02/14 09:14, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 01/02/14 21:57, Csanyi Pal wrote: Scott Ferguson scott.ferguson.debian.u...@gmail.com writes: On 31/01/14 04:53, Csanyi Pal wrote: Hi, I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. snipped However, I can't find the installed driver, and I don't know how can I load it as a kernel module? Had you read this wiki page about that chipset? https://wiki.debian.org/rtl819x Yes, I had. There I found that that my USB Wifi adapter is supported: when I plug in the WiFi usb adapter, lsusb shows the following: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter and on the webpage https://wiki.debian.org/rtl819x there is this davice listed: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter On the web page: https://wiki.debian.org/rtl819x there I found the following information: rtl8192cu (supported devices) Supports USB devices based on the RTL8188CUS and RTL8192CU chips. Introduced in Linux 2.6.39, enabled at linux-2.6 2.6.39~rc7-1~experimental.1. So now what should I do to get this USB Wifi adapter works? Did you install the matching headers? I did install the linux-headers-2.6-powerpc. Do you get a match on the chipset series when greping through the likely modules after piping through string? When I run 'make menuconfig' in the kernel source directory, I found the Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter module in the Linux/powerpc 2.6.39.4-4 Kernel Configuration / \ Device Drivers / Network device support / Wireless LAN In menuconfig I saved the setup in to .config file. But when I run after 'make menuconfig' the 'make' command, I get error message: arch/powerpc/kernel/align.c: In function ‘fix_alignment’: arch/powerpc/kernel/align.c:704:33: error: variable ‘instruction’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 What could be the problem here? Sorry (again). But I don't have clue. I can tell you how to suppress the warning (--disable-werror):- http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html but not how to fix the problem that generates it. I'm trying to fix this problem with installing gcc-4.4 on my Debian Wheezy system. Now when I have installed the gcc-4.4, I made a symbolic link: ls -l /usr/bin/gcc lrwxrwxrwx 1 root root 16 febr 2 06:34 /usr/bin/gcc - /usr/bin/gcc-4.4 The gcc symbolic link are linked before this to the /usr/bin/gcc-4.6. Now I'm running the 'make' command in the kernel source file with the .config setup file. Sofar it is successfull, but it is ongoing yet. I'm waiting the make command to terminate successfull. -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87txcihxc7@gmail.com
Re: Wireless AP setup: RTL8188CUS
Brian a...@cityscape.co.uk writes: On Thu 30 Jan 2014 at 23:09:22 +, Brian wrote: On Thu 30 Jan 2014 at 21:12:54 +0100, Csanyi Pal wrote: FATAL: Module rtl8192cu not found. The system is: uname -a Linux b2 2.6.39.4-4 #1 Fri Aug 19 14:41:59 CEST 2011 ppc GNU/Linux Description:Debian GNU/Linux 7.3 (wheezy) Release:7.3 Does the file /lib/modules/2.6.39.4-4/modules.builtin.bin exist? That question is a bit silly! Please say what you get with cd /lib/modules/2.6.39.4-4/kernel/drivers/ grep -r 8192 * csanyipal@b2:/lib/modules/2.6.39.4-4/kernel/drivers$ grep -r 8192 * Binary file media/video/pvrusb2/pvrusb2.ko matches -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87ppn8mg4t@gmail.com
Re: Wireless AP setup: RTL8188CUS
Brian a...@cityscape.co.uk writes: On Thu 30 Jan 2014 at 21:12:54 +0100, Csanyi Pal wrote: sudo modprobe rtl8192cu libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.39.4-4/modules.builtin.bin' This is kernel 2.6.39.4-4. Are you using Squeeze? This is a Debian GNU/Linux 7.3 (wheezy) on the Bubba | Two headless Power PC. ( One can see about the Bubba 3 here: http://www.excitostore.com/ ). There are no more Bubba | Two out there.. I have had remove the Bubba stuff ( packages ) and had installed only Debian GNU/Linux Sqweeze, and when Wheezy com out as a stable release, I upgraded Squeeze to Wheezy on my headless Bubba | Two Power PC. My sources.list on this system is now: quote deb http://ftp.debian.org/debian wheezy main contrib non-free deb http://security.debian.org/ wheezy/updates main contrib non-free deb http://b3.update.excito.org/ stable main /quote Maybe this is the problem, because a few months ago the last line abowe was: deb http://update.excito.org/ stable main Yesterday when I want to update the Bubba system, this link: deb http://update.excito.org/ stable main doesn't works any more, so I found the link: deb http://b3.update.excito.org/ stable main which I'm being using now. So, again, maybe this is not right link for my Wheezy system.. This is because the linux image, the kernel is not supported yet by the Debian package management ( as I know ) for this peace of hardware, and the kernel must updated from excito.org. -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/878utwm9qv@gmail.com
Re: Wireless AP setup: RTL8188CUS
On Fri 31 Jan 2014 at 14:32:02 +0100, Csanyi Pal wrote: csanyipal@b2:/lib/modules/2.6.39.4-4/kernel/drivers$ grep -r 8192 * Binary file media/video/pvrusb2/pvrusb2.ko matches This kernel does not have the driver for your device. In another mail you wrote: So, again, maybe this is not right link for my Wheezy system.. This is because the linux image, the kernel is not supported yet by the Debian package management ( as I know ) for this peace of hardware, and the kernel must updated from excito.org. excito.org has a forum. Any help there? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/31012014175431.2d6e38a38...@desktop.copernicus.demon.co.uk
Re: Wireless AP setup: RTL8188CUS
Brian a...@cityscape.co.uk writes: On Fri 31 Jan 2014 at 14:32:02 +0100, Csanyi Pal wrote: csanyipal@b2:/lib/modules/2.6.39.4-4/kernel/drivers$ grep -r 8192 * Binary file media/video/pvrusb2/pvrusb2.ko matches This kernel does not have the driver for your device. In another mail you wrote: So, again, maybe this is not right link for my Wheezy system.. This is because the linux image, the kernel is not supported yet by the Debian package management ( as I know ) for this peace of hardware, and the kernel must updated from excito.org. excito.org has a forum. Any help there? I'm trying to get help there too: http://forum.excito.net/viewtopic.php?f=9t=5166 My question is there and here the same: Can I just download the http://b3.update.excito.org/pool/main/l/linux/bubba3-kernel_2.6.39.4-13_powerpc.deb kernel and can I install it with dpkg -i bubba3-kernel_2.6.39.4-13_powerpc.deb command? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87zjmckngh@gmail.com
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal csanyi...@gmail.com writes: Brian a...@cityscape.co.uk writes: On Fri 31 Jan 2014 at 14:32:02 +0100, Csanyi Pal wrote: csanyipal@b2:/lib/modules/2.6.39.4-4/kernel/drivers$ grep -r 8192 * Binary file media/video/pvrusb2/pvrusb2.ko matches This kernel does not have the driver for your device. In another mail you wrote: So, again, maybe this is not right link for my Wheezy system.. This is because the linux image, the kernel is not supported yet by the Debian package management ( as I know ) for this peace of hardware, and the kernel must updated from excito.org. excito.org has a forum. Any help there? I'm trying to get help there too: http://forum.excito.net/viewtopic.php?f=9t=5166 My question is there and here the same: Can I just download the http://b3.update.excito.org/pool/main/l/linux/bubba3-kernel_2.6.39.4-13_powerpc.deb kernel and can I install it with dpkg -i bubba3-kernel_2.6.39.4-13_powerpc.deb command? However, I red on the Wiki Excito about how to build a custom_kernel: http://wiki.excito.org/wiki/index.php/Building_a_custom_kernel and there are mentioned the following version of the kernel source: http://b3.update.excito.org/pool/main/l/linux/linux_2.6.39.4-13.dsc so I think that that it should be safe to install the binary bubba3-kernel_2.6.39.4-13_powerpc.deb, that I downloaded from the abowe mentioned link ( http://b3.update.excito.org/pool/main/l/linux/... ), right? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87fvo3syca@gmail.com
Re: Wireless AP setup: RTL8188CUS
Csanyi Pal csanyi...@gmail.com writes: I just bought an USB dongle nano Netis WF-2120 adapter. I want to set it up on my headless Debian Wheezy server as a Wireless Access Point. I'm trying to follow these steps here: http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ lsusb shows it as: Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter I also installed debian packages hostapd and firmware-realtek, and now I don't know what steps I need more to get this working? I want to use the ifupdown method described in the /usr/share/doc/hostapd/README.Debian file. However, I can't find the installed driver, and I don't know how can I load it as a kernel module? When I'm trying to get information about the rtl8192cu kernel module that is needed from my USB Wireless Adapter, sudo modinfo rtl8192cu | grep 17AB I get the following error: libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.39.4-4/modules.builtin.bin' ERROR: Module rtl8192cu not found. Whta could be the problem here? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87fvo56yx3@gmail.com
Re: Wireless AP setup: RTL8188CUS
I just bought an USB dongle nano Netis WF-2120 adapter apt-get install firmware-realtek Pol -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52eab0fd.7090...@fuckaround.org
Re: Wireless AP setup: RTL8188CUS
Hi Pol, Pol Hallen de...@fuckaround.org writes: I just bought an USB dongle nano Netis WF-2120 adapter apt-get install firmware-realtek I already have installed firmware-realtek, but still wifi adapter doesn't work. I can't to load the kernel module at all: sudo modinfo rtl8192cu | grep 17AB libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.39.4-4/modules.builtin.bin' ERROR: Module rtl8192cu not found. sudo modprobe rtl8192cu libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.39.4-4/modules.builtin.bin' FATAL: Module rtl8192cu not found. What can I do now? -- Regards from Pal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/877g9h6xfd@gmail.com
Re: Wireless AP setup: RTL8188CUS
On Thu 30 Jan 2014 at 21:12:54 +0100, Csanyi Pal wrote: sudo modprobe rtl8192cu libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.39.4-4/modules.builtin.bin' This is kernel 2.6.39.4-4. Are you using Squeeze? FATAL: Module rtl8192cu not found. Does the file /lib/modules/2.6.39.4-4/modules.builtin.bin exist? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/30012014230650.d8f12ae7a...@desktop.copernicus.demon.co.uk
Re: Wireless AP setup: RTL8188CUS
On Thu 30 Jan 2014 at 23:09:22 +, Brian wrote: On Thu 30 Jan 2014 at 21:12:54 +0100, Csanyi Pal wrote: FATAL: Module rtl8192cu not found. Does the file /lib/modules/2.6.39.4-4/modules.builtin.bin exist? That question is a bit silly! Please say what you get with cd /lib/modules/2.6.39.4-4/kernel/drivers/ grep -r 8192 * -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/30012014235059.a1e62091f...@desktop.copernicus.demon.co.uk