LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-19-2010, 12:53 AM   #1
HiredGun555
LQ Newbie
 
Registered: May 2007
Distribution: Ubuntu
Posts: 16

Rep: Reputation: 0
wireless on Asus netbook using ubuntu


I hace an Asus netbook running Ubuntu 10.10 with Gnome. After experiencing problems with video (due to lack of resources) I've switched from Gnome to blackbox as a lightweight desktop. The problem is my wireles is fine under Gnome, but I can't configure it under blackbox, or fluxbox, or fxwm. The following is my lsmod, lspci. Also iwconfig under Gnome and iwconfig under blackbox.

lsmod

Module Size Used by
binfmt_misc 6587 1
vboxnetadp 6390 0
vboxnetflt 12740 0
vboxdrv 168753 2 vboxnetadp,vboxnetflt
dm_crypt 11331 0
snd_hda_codec_realtek 203375 1
joydev 8708 0
snd_hda_intel 22037 4
arc4 1153 2
snd_hda_codec 74201 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5412 1 snd_hda_codec
snd_pcm_oss 35308 0
snd_mixer_oss 13746 1 snd_pcm_oss
snd_pcm 70694 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 1338 0
snd_seq_oss 26722 0
snd_seq_midi 4557 0
snd_rawmidi 19056 1 snd_seq_midi
snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
snd_seq 47263 7 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 19098 2 snd_pcm,snd_seq
snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ath5k 121664 0
uvcvideo 57054 0
mac80211 205402 1 ath5k
snd 54180 20 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_se q_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
ath 7611 1 ath5k
videodev 34361 1 uvcvideo
v4l1_compat 13251 2 uvcvideo,videodev
cfg80211 126528 3 ath5k,mac80211,ath
soundcore 6620 1 snd
psmouse 63245 0
serio_raw 3978 0
atl1c 28083 0
led_class 2864 1 ath5k
snd_page_alloc 7076 2 snd_hda_intel,snd_pcm
fbcon 35102 72
tileblit 2031 1 fbcon
font 7557 1 fbcon
bitblit 4707 1 fbcon
softcursor 1189 1 bitblit
lp 7060 0
parport 32635 1 lp
i915 286079 2
drm_kms_helper 29297 1 i915
drm 162409 3 i915,drm_kms_helper
intel_agp 24119 2 i915
ahci 32200 2
agpgart 31724 2 drm,intel_agp
i2c_algo_bit 5028 1 i915
video 17375 1 i915
output 1871 1 video

lspci

01:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
03:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)

The essid displays hex values under blackbox but shows correct essid under Gnome and the access point disappears under blackbox but is there under Gnome. Any help will be appreciated. I can't show the hex values because the posting gets messed up.
 
Old 11-19-2010, 12:59 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Manually configure your connections:

Use this link:

http://www.linuxhomenetworking.com/w...ess_Networking
 
Old 11-19-2010, 01:51 AM   #3
HiredGun555
LQ Newbie
 
Registered: May 2007
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
I've already tried the info on that link, and was still not able to configure correctly.
 
Old 11-19-2010, 02:27 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi, maybe you're using networkmanager with gnome. The difference between gnome and the other WMs is that gnome starts this program automatically and in Blackbox you'll have to integrate it into the menu manually or autostart it.
Afaik networkmanager provides wireless network only if a user is logged in. So when leaving gnome, the wireless network is shut down.
A workaround would be to configure your wireless connection in a way that is independend of the WM at all.

Markus
 
Old 11-19-2010, 02:56 AM   #5
HiredGun555
LQ Newbie
 
Registered: May 2007
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
I'm willing to try this, but don't have a clue as to where to look for info as to how. Any suggestions?
 
Old 11-19-2010, 05:45 AM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Can you try wicd instead of NetworkManager

http://wicd.sourceforge.net/
 
Old 11-19-2010, 10:40 PM   #7
HiredGun555
LQ Newbie
 
Registered: May 2007
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
Ok, the wicd has had the most success, but still doesn't work. I'm now able to see the correct essid under blackbox and fluxbox, but when i try to actually connect, the essid suddenly becomes a string of hex characters as before. The partial success is that the gui portion does work, it does see the correct essid, and I see the correct channel. Blackbox and fluxbox, though, reinterprets the essid upon trying to connect and then fails.
 
Old 11-20-2010, 12:53 AM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by HiredGun555 View Post
... but when i try to actually connect, the essid suddenly becomes a string of hex characters as before...
well, could you please post a screenshot of this? I think I've never seen that before.

Markus
 
Old 11-21-2010, 03:15 PM   #9
HiredGun555
LQ Newbie
 
Registered: May 2007
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
Here is two screenshots. Sorry it took so long, but I lost my connection all together, even under gnome.

As you can see in the first screenshot, the essid along the bottom of the gui is nothing but garbage. In the second screenshot is a picture of my iwconfig, which also shows garbage for essid, even though iwlist shows the correct one. I tried iwconfig wlan0 ap [address] and the access point would not set.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	17
Size:	53.9 KB
ID:	5259   Click image for larger version

Name:	Screenshot-1.png
Views:	18
Size:	29.4 KB
ID:	5260  
 
Old 11-21-2010, 04:25 PM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, which encryption do you use?
 
Old 11-21-2010, 04:28 PM   #11
HiredGun555
LQ Newbie
 
Registered: May 2007
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
sorry, meant to say it's open, no wep or wpa, and i'm using IPv4, IPv6 doesn't work.
 
Old 11-21-2010, 04:36 PM   #12
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
ok, then try the following (provided you have wpa_supplicant and dhcpcd installed). create wpa_supplicant.conf file (normaly located in /etc)
Code:
ctrl_interface=/var/run/wpa_supplicant GROUP=0
# Wildcard match for SSID (plaintext APs only). This example select any
# open AP regardless of its SSID.
network={
	key_mgmt=NONE
}
save it as wpa_supplicant.conf in /etc and execute the following command (as root):
Code:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
if it connects you may execute
Code:
dhcpcd wlan0
to get an IP-configuration via DHCP.
Be aware that this is true if the wireless interface is wlan0 and the driver is wext, you may insert your essid into the wpa_supplicant.conf, look at the manpage.

Markus
 
Old 11-21-2010, 05:44 PM   #13
HiredGun555
LQ Newbie
 
Registered: May 2007
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
i attached another screenshot to show whats happening when i try to execute. under gnome, the driver shows ath5k, but under blackbox it says the ath5k driver doesn't exist and doesn't execute at all. when i used wext, it did execute but still did not resolve the connection. it looks like it connects, then loses the connection.
Attached Thumbnails
Click image for larger version

Name:	Screenshot-2.png
Views:	19
Size:	30.8 KB
ID:	5262  
 
Old 11-21-2010, 05:58 PM   #14
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
mh, I think I can't help you any further, I have similar issue with Gentoo on a Netbook. But I've not yet found a solution. Anyway good luck, I hope you'll find a solution.

Markus
 
  


Reply

Tags
asus, blackbox, iwconfig, wireless



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 10.10 Netbook Remix problems with Asus EEEPC 1005P sturg_nz Linux - Newbie 3 10-18-2010 01:40 AM
Ubuntu 10.04, NetBook vs DeskTop on Asus EeePC 1005HA AllanB Linux - Laptop and Netbook 2 09-07-2010 05:45 AM
resolution overclocking using Ubuntu netbook Remix 10.04 on an asus eee 4G netbook pawn0 Linux - Newbie 1 08-30-2010 04:31 PM
Asus Eee PC 1005ha Ubuntu Netbook Remix 9.10 Wifi issue mawkernewek Linux - Laptop and Netbook 6 01-27-2010 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration