topic title: wireless wicd help
Posts: 22
sweetsuicide
Joined: 01 Mar 2010
#1
Hi everybody,
I recenlty boughta cheap wifi usb stick and today I treid to cennect to my wifi router. All other wifi devices in my house are connecting to it fine. I have problems with my antiX machine.
My antix machine is an antiX 12 mostly untouched installation. First I tried to use wicd (client) bu it was not showing any wireless networks, then I tried to use ceni, but it complained about wpa_supplicant being used by someone else, so I deleted to conflicting file as asked by ceni. From that moment on ceni never showed any wireless networks during setting up, but only a list of wifi channels to set up the connection on. Even in that case it failed at connecting to the wifi. Then I went back to wicd (client) and wireless connections showed up. From that moment on I seldom succeed in connecting to my wifi. After a try no wifi connections are showed anymore, but they pop up again as I detach and re-attach the stick to the usb connector. It seems like I get different errors on each subsequent try: bad password, unable to get ip (if I ask for an IP from dhcp, otherwise I succeed more), impossible to pair to access point, etc.
I am going to post my lsusb line:
:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
and my iwconfig line:
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
I know it's not much, but please help me find out where the problem is.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Put wlan0 in wicd wireless interface in preferences and hit the refresh button for starters.

If using wpa like I do. Use your password to connect when asked.
Posts: 22
sweetsuicide
Joined: 01 Mar 2010
#3
Nope, it works only if I unplug and replug the usb stick. Then, problems start.
Posts: 22
sweetsuicide
Joined: 01 Mar 2010
#4
Well, I actually installed the
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://packages.debian.org/sid/firmware-realtek"
linktext was:"http://packages.debian.org/sid/firmware-realtek"
====================================
package and got a strange
cryptsetup: WARNING: failed to detect canonical device of /dev/sda2
message. Anyway every time I start up my machine I get a message regarding
Module p80211 not found
.
My lsmod list, by the way contains the following entries I believe have something to do with this issue:

Code: Select all

rtl8192cu              68405  0
rtlwifi                72145  1 rtl8192cu
rtl8192c_common        40166  1 rtl8192cu
mac80211              187239  3 rtlwifi,rtl8192c_common,rtl8192cu
cfg80211              117676  2 mac80211,rtlwifi
It's strange, because I actually have a RTL8188CUS card.
I don't know what I'm doing, I have to admit it __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#5
It's strange, because I actually have a RTL8188CUS card.
I don't know what I'm doing, I have to admit it

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wiki.debian.org/rtl819x"
linktext was:"http://wiki.debian.org/rtl819x"
====================================

Wheezy

The testing distribution currently supports Realtek RTL8188CE, RTL8188CUS, RTL8188DE, RTL8188SU, RTL8191SE, RTL8191SU, RTL8192CE, RTL8192CU, RTL8192DE, RTL8192E, RTL8192SE, RTL8192SU and RTL8192U-based devices.
AntiX is Debian Testing. My readout to show what I mean (mine is Debian Wheezy which is 7.0). Forum issues does not allow me to put / right next to etc so look at my readout as / being right next to etc.

Code: Select all

@Biker:~$ cat / etc/issue
Debian GNU/Linux 7.0 \n \l

@Biker:~$ cat / etc/issue.net
Debian GNU/Linux 7.0
@Biker:~$ 
Post from terminal

Code: Select all

inxi -z -F
So we can get a idea of what you are running (with te usb wifi plugged in)

As far as cryptic warning messages. I have no clue on what is going on with you. __{{emoticon}}__

If usb does not show up in inxi readout. post then

Code: Select all

lsusb -v
As far as I know. Your usb is supported out of the box unless you got a corrupted iso install.
Posts: 22
sweetsuicide
Joined: 01 Mar 2010
#6

Code: Select all

inxi -z -F

Code: Select all

System:    Host: antiX1 Kernel: 3.5.0-antix.2-486-smp i686 (32 bit)
           Console: tty 0 Distro: antiX-full EdelweiƟpiraten 06 August 2012
Machine:   Mobo: ASUSTeK model: P3V4X version: REV 1.xx Bios: Award version: ASUS P3V4X 1003 date: 03/14/2000
CPU:       Single core Pentium III (Coppermine) (-UP-) cache: 256 KB flags: (sse) clocked at 736.056 MHz
Graphics:  Card: 3Dfx Interactive Voodoo 4 / Voodoo 5
           X.org: 1.12.3 drivers: tdfx (unloaded: fbdev,vesa) tty size: 104x25 Advanced Data: N/A out of X
Audio:     Card: Creative Labs SB Live! EMU10k1 driver: snd_emu10k1 Sound: ALSA ver: 1.0.25
Network:   Card-1: Realtek RTL-8139/8139C/8139C+ driver: 8139too
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Realtek RTL8188CUS 802.11n WLAN Adapter driver: rtl8192cu
           IF: wlan0 state: down mac: <filter>
Drives:    HDD Total Size: 2290.5GB (79.8% used) 1: id: /dev/sda model: ST2000DL003 size: 2000.4GB
           2: id: /dev/sdb model: MAXTOR_STM325062 size: 250.1GB 3: id: /dev/sdc model: WDC_WD400BB size: 40.0GB
Partition: ID: / size: 18G used: 3.2G (20%) fs: ext4 ID: /home size: 230G used: 204G (94%) fs: ext3
           ID: swap-1 size: 2.18GB used: 0.00GB (0%) fs: swap
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 97 Uptime: 8 min Memory: 110.5/628.0MB Runlevel: 5 Client: Shell inxi: 1.8.14
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#7
IF: wlan0 state: down
The kernel has supported your usb and wireless interface in wlan0.

I bet if you posted a ifconfig -a as root in terminal. All your internet interfaces would show up just fine.
So I( don't know why you can't connect via wireless via ceni.wicd, or even through command line.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wiki.debian.org/WiFi/HowToUse"
linktext was:"http://wiki.debian.org/WiFi/HowToUse"
====================================
Posts: 22
sweetsuicide
Joined: 01 Mar 2010
#8
I don't know what to say, during the last day I get only one error, i.e."unable to obtain IP address". You asked for the output of ifconfig -a from root, right?

Code: Select all

eth0      Link encap:Ethernet  HWaddr 00:30:84:73:bf:ee
          inet addr:192.168.1.104  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::230:84ff:fe73:bfee/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:604 errors:0 dropped:0 overruns:0 frame:0
          TX packets:282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:55233 (53.9 KiB)  TX bytes:53314 (52.0 KiB)

lo        Link 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:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5000 (4.8 KiB)  TX bytes:5000 (4.8 KiB)

wlan0     Link encap:Ethernet  HWaddr 90:f6:52:15:40:76
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:266 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11589 (11.3 KiB)  TX bytes:20714 (20.2 KiB)
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#9
wlan0 Link encap:Ethernet HWaddr 90:f6:52:15:40:76
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:266 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11589 (11.3 KiB) TX bytes:20714 (20.2 KiB)
Everything is there for connecting to wireless. Not sure why you are not getting a IP address. Mine is wpa-psk 2 encrypted and I connect just fine in Wicd with wlan0 as the wireless interface in preferences.
Just for more info so other members can see.

Code: Select all

 cat etc/resolv.conf
put a / in front of etc when running that command in terminal. The forum software here has a hissy fit when posting / next to etc in a post.
Posts: 22
sweetsuicide
Joined: 01 Mar 2010
#10
Thx Rotkitnji,
btw I remember well the slash issue __{{emoticon}}__

Here's my resolv.conf

Code: Select all

# Dynamic resolv.conf(6) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.1
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#11
have you tried just running

Code: Select all

# ifconfig wlan0 up
it looks almost like the interface is present but defaults to a"down" state. Just a shot in the dark.
Posts: 22
sweetsuicide
Joined: 01 Mar 2010
#12
The point is, it fails at getting an ip address, that causes the"upping" to fail, causing the iface to be down.
The only thing that comes into my mind is that my isp's router-modem doesn't want the same machine (name) to connect with a different mac address a minute or half an hour after it connected through eth0. Who knows. At the moment I'm trying out a different distro (Salix) that seems to have no problems with connecting using the wifi card. I hope that I will have time to investigate with AntiX in the future
Posts: 46
Bestusernameever
Joined: 16 Jan 2013
#13
Try opening the antix cc then go to network there should be an option called ceni. Click on ceni then find your wifi adapter click on it and if it says something like reconfigure or remove configuration click on reconfigure than try setting it up form there. It is a little harder to use than wicd but ignore all the extra stuff just click scan find your network. After that put the password if you have to then click accept for that. Same for the next page to. I had an issue similar to this ceni helped fix this.
Posts: 26
lucky9
Joined: 13 Jul 2008
#14
ceni is the only thing that I use for wifi when I boot antiX. Mainly cause I roam to different places and it always works.
Posts: 1
martel05
Joined: 28 Feb 2013
#15
Try with the rfkill command : sudo rfkill list all
And see if there is no soft or hard block and then try : sudo rfkill unblock all