You are not logged in.

#1 2011-11-21 19:16:24

spiky25
Member
Registered: 2009-09-29
Posts: 134

(wifi) broadcom-wl or network-manager trouble not sure

I configurated my broadcom bcm4313 (4727) with broadcom-wl (driver recommanded for my needs by broadcom devellopers), up and running in network-manager (seen there to connect with ...) ... (Checked it with CalimeroTeknik today)

When I connect to my wifi relay (an adhoc by wifi), it try to connect and fail ... (I couldn't use wicd for my needs, as I use multiples connections and AP to make an adhoc that is not possible with wicd and need a gui tools as my gf uses it sometimes or may lend it to make peoples try Archlinux for example ...

Any ideas of what could be the trouble ?

My lsmod : http://pastebin.com/eveinQdU
My dmesg : http://pastebin.com/rhigpitH
ip a s : http://pastebin.com/qxmw6DYy
ifconfig -a then iwlist scan : http://pastebin.com/vvMuY0Q0


English isn't my native langage

Offline

#2 2011-11-21 19:59:22

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: (wifi) broadcom-wl or network-manager trouble not sure

Edit: never mind, I need to LTFR.

Can you force a connection using wpa_supplicant?

Last edited by /dev/zero (2011-11-21 20:00:49)

Offline

#3 2011-11-21 20:50:14

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: (wifi) broadcom-wl or network-manager trouble not sure

/dev/zero wrote:

Edit: never mind, I need to LTFR.

Can you force a connection using wpa_supplicant?

How I do that ? I checked a little but the only link that seem right is an unreadable Gentoo wiki page ...


English isn't my native langage

Offline

#4 2011-11-21 21:23:59

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: (wifi) broadcom-wl or network-manager trouble not sure

dev/zero also said that since once you get it going manually, using the gui tools should work in other cases as well.

Have a look at the steps listed in the wiki here:
https://wiki.archlinux.org/index.php/Wi … nual_setup
Given your info, you should be able to run them without installing something.
Try to ask as specific as possible if unclear or you see errors.

Offline

#5 2011-11-21 21:41:06

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: (wifi) broadcom-wl or network-manager trouble not sure

Does it mean that the manual configuration worked ?

Edit : seem to have made another wifi adhoc of the same name and key, how I change this line : # iwconfig wlan0 mode ad-hoc ???

[mike@archbang ~]$ sudo iwconfig eth0
eth0      IEEE 802.11abg  ESSID:"sharenet"  
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 32:2D:2E:13:08:78   
          Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:7171-7171-7171-7171-7171-7171-71
          Power Management:off

Last edited by spiky25 (2011-11-21 21:47:13)


English isn't my native langage

Offline

#6 2011-11-22 05:42:48

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: (wifi) broadcom-wl or network-manager trouble not sure

spiky25 wrote:

Does it mean that the manual configuration worked ?

Edit : seem to have made another wifi adhoc of the same name and key, how I change this line : # iwconfig wlan0 mode ad-hoc ???

[mike@archbang ~]$ sudo iwconfig eth0
eth0      IEEE 802.11abg  ESSID:"sharenet"  
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 32:2D:2E:13:08:78   
          Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:7171-7171-7171-7171-7171-7171-71
          Power Management:off

I haven't used wpa_supplicant much, but my understanding is that once it establishes a connection, you can use that connection just as though a GUI tool had established it. IOW, try pinging google. If the ping works, you know wpa_supplicant successfully created a connection, so we can rule out a driver problem.

Offline

#7 2011-11-22 10:33:15

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: (wifi) broadcom-wl or network-manager trouble not sure

/dev/zero wrote:

I haven't used wpa_supplicant much, but my understanding is that once it establishes a connection, you can use that connection just as though a GUI tool had established it. IOW, try pinging google. If the ping works, you know wpa_supplicant successfully created a connection, so we can rule out a driver problem.

Actually, making the wireless connection is just one part of the deal. You still need an IP. So after either iwconfig or wpa_supplicant has made a connection, you have to run dhcpcd or some other dhcp client.

@spiky25: What helped me a lot when I was playing with ad-hoc is specifying the channel on both sides. I don't know if wicd allows specifying a channel. iwconfig does. with wpa_supplicant, you instead specify a frequency.

Offline

#8 2011-11-22 21:46:56

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: (wifi) broadcom-wl or network-manager trouble not sure

spiky25 wrote:

Does it mean that the manual configuration worked ?

Edit : seem to have made another wifi adhoc of the same name and key, how I change this line : # iwconfig wlan0 mode ad-hoc ???

Yes, your manual configuration worked just fine.
The IP address Gusar refers to, you still have to acquire from the router  - which is at the end of step 4 of the wiki. If it does not work like described in the wiki (#dhcpcd eth0), you have to start the dhcpcd daemon first by

sudo /etc/rc.d/dhcpcd restart

Question 2: You only have to change the interface in the iwconfig line, since your wireless seems to be on eth0:

iwconfig eth0 mode ad-hoc

However, you really dont need to do that since you already connected to the wireless "sharenet" according to your output.

So, just redo the steps and go the steps4 to the end to get an IP. If you see that working, you can ping any internet site to see if it works (or start any browser), as /dev/zero says. (if that works , your wicd should actually also work after network restart).

If it does not work, come back to us with the error you see plus the output of

ip addr
ip route

edit: add words

Last edited by Strike0 (2011-11-22 21:54:39)

Offline

#9 2011-11-28 22:58:58

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: (wifi) broadcom-wl or network-manager trouble not sure

Not done much more but my wifi card work on any wifi connection but not with my ad-hoc, what could solve that ???


English isn't my native langage

Offline

#10 2011-11-29 20:30:03

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: (wifi) broadcom-wl or network-manager trouble not sure

spiky25 wrote:

Not done much more but my wifi card work on any wifi connection but not with my ad-hoc, what could solve that ???

Please be clear about what you have tried since your last post to get it to work. In order to help you find a solution we need more input on which point you have problems or see output from error messages.

In your last system output we see a successful connection to a wifi "sharenet". If that is your wifi you have problems to connect to, that means you have problems with the wpa_supplicant or getting an IP address after that step.

Maybe you want to turn off encryption on your wifi for testing purposes, then try again according to the wiki page steps (link above) without encryption first and come back to us with the result/questions/errors.

edit: add para

Last edited by Strike0 (2011-11-29 20:34:12)

Offline

Board footer

Powered by FluxBB