LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2013, 04:06 PM   #1
shephaa
LQ Newbie
 
Registered: Jan 2013
Distribution: Lubuntu 12.10
Posts: 2

Rep: Reputation: Disabled
Wicd hangs on "Obtaining IP address" on Lubuntu 12.10 with Ralink RT2790


I am running Lubuntu 12.10 on an Asus 1000he and am having some wireless issues. I don't know if any of this is useful information but my system information says about the card:
Quote:
Name: Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe
Class: Network Controller
Domain: 0
Bus, Device, Function: 1,0,0
IRQ: 19
Bus Master: Yes
Memory:64KB (32-bit, non-prefetchable)
Kernel Modules: rt2800pci
Originally Lubuntu had Network Manager on it but it kept disconnecting and reconnecting so frequently it was unusable. I uninstalled Network Manager and replaced it with Wicd Network Manager. It works well for the most part but I'd say about 75% of the time it has trouble obtaining the IP address. It can take up to 20 minutes to connect. Rebooting, toggling wifi on/off, resetting the router all have no effect on making it connect quickler.

I have read that Wicd is a workaround and that Network Manager makes better use of the hardware. I've also read that there should be no problem with getting this card to work with Network Manager. Its frustrating to have to wait so long to get connected to the internet after booting my computer, so I'd like to get this machine in optimal condition. I am an extreme newbie when it comes to working in Linux, so simplified instructions would be greatly appreciated. I will gladly run any commands and post any reports asked of me.

Thanks,
shephaa
 
Old 01-18-2013, 04:47 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Might want to look in

Code:
cat /etc/resolv.conf
Maybe delete the Network Manager also as it can cause a conflict with WICD also from what I have read online.

Code:
$ apt-cache policy network-manager
network-manager:
  Installed: (none)
  Candidate: 0.9.4.0-6
  Version table:
     0.9.4.0-6 0
        500 http://http.us.debian.org/debian/ testing/main i386 Packages
~$ apt-cache policy wicd
wicd:
  Installed: 1.7.2.4-4
  Candidate: 1.7.2.4-4
  Version table:
 *** 1.7.2.4-4 0
        500 http://http.us.debian.org/debian/ testing/main i386
in case you have Network-Manager still installed. Mine connects faster than yours but I don't Ubuntu.

as root in terminal. I also use

Code:
cat /etc/network/interfaces
Might Help, Might not

http://www.backtrack-linux.org/forum...ad.php?t=49275
 
Old 01-18-2013, 06:34 PM   #3
shephaa
LQ Newbie
 
Registered: Jan 2013
Distribution: Lubuntu 12.10
Posts: 2

Original Poster
Rep: Reputation: Disabled
I entered the commands like you said, but like I said I don't really know what any of this means.

Quote:
~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.2.1
nameserver 75.75.75.75
nameserver 75.75.76.76
search hsd1.in.comcast.net
I knew I had uninstalled network manager properly, but just to be sure I ran the commands.
Quote:
~$ apt-cache policy network-manager
network-manager:
Installed: (none)
Candidate: 0.9.6.0-0ubuntu7
Version table:
0.9.6.0-0ubuntu7 0
500 http://us.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages

~$ apt-cache policy wicd
wicd:
Installed: 1.7.2.4-2ubuntu1
Candidate: 1.7.2.4-2ubuntu1
Version table:
*** 1.7.2.4-2ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
100 /var/lib/dpkg/status
And here's the last one. Don't know what this means either.

Quote:
~$ sudo cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
As I understand that last link is to use both network-manager and wicd together. I'd reather just get one of them working right by itself. Anything else I can do?

By the way, I already appreciate the links in your signature.
 
Old 01-23-2013, 05:57 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Your cat /etc/network/interfaces look the same as mine. So you are OK there.

your /etc/resolv.conf though looks different from mine. I am not sure about your

Code:
nameserver 75.75.75.75
nameserver 75.75.76.76
search hsd1.in.comcast.net
entries. That might be why you

Quote:
It can take up to 20 minutes to connect.
I would open nautilus in Ubuntu with sudo and rename /etc/resolv.conf as /etc/resolv.confbackup
Then save,close nautilus and reboot and let it write a new /etc/resolv.conf file to see if things change or not. Here is mine
Code:
$ cat /etc/resolv.conf
domain Belkin
search Belkin Belkin
nameserver 192.168.2.1
nameserver 192.168.2.1
Code:
$ sudo ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1a:6b:55:6a:32  
          inet addr:192.168.2.17  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:6bff:fe55:6a32/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:92715 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86872 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:94879341 (94.8 MB)  TX bytes:12612249 (12.6 MB)
          Memory:d0280000-d02a0000 

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:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:920 (920.0 B)  TX bytes:920 (920.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:1a:ef:05:1e:09  
          inet addr:192.168.2.5  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:efff:fe05:1e09/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14930 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4935042 (4.9 MB)  TX bytes:4897 (4.8 KB)
wlan0 is my wireless but I am on landline right now posting from this Desktop running

Code:
$ inxi -Fxz
System:    Host: harry-desktop Kernel: 2.6.32-45-generic x86_64 (64 bit, gcc: 4.4.3) Desktop: Gnome 2.30.2 Distro: Ubuntu 10.04LTS
Machine:   System: LENOVO product: 6075BHU version: ThinkCentre M57
           Mobo: LENOVO model: LENOVO Bios: LENOVO version: 2RKT41AUS date: 03/20/2008
CPU:       Dual core Intel Pentium Dual CPU E2160 (-MCP-) cache: 1024 KB flags: (lm nx pae sse sse2 sse3 ssse3) bmips: 7182.36 
           Clock Speeds: 1: 1200.00 MHz 2: 1200.00 MHz
Graphics:  Card: Intel 82Q35 Express Integrated Graphics Controller bus-ID: 00:02.0 
           X.Org: 1.7.6 drivers: intel (unloaded: vesa,fbdev) Resolution: 1600x900@60.0hz 
           GLX Renderer: Mesa DRI Intel Q35 GEM 20091221 2009Q4 GLX Version: 1.4 Mesa 7.7.1 Direct Rendering: Yes
Audio:     Card: Intel 82801I (ICH9 Family) HD Audio Controller driver: HDA Intel bus-ID: 00:1b.0 Sound: ALSA ver: 1.0.21
Network:   Card-1: RaLink RT2561/RT61 802.11g PCI driver: rt61pci ver: 2.3.0 bus-ID: 11:0c.0
           IF: wlan0 state: up mac: <filter>
           Card-2: Intel 82566DM-2 Gigabit Network Connection driver: e1000e ver: 1.0.2-k2 port: 1820 bus-ID: 00:19.0
           IF: eth0 state: up speed: N/A duplex: N/A mac: <filter>
Drives:    HDD Total Size: 80.0GB (18.8% used) 1: id: /dev/sda model: ST380815AS size: 80.0GB 
Partition: ID: / size: 9.5G used: 4.0G (45%) fs: ext4 ID: /home size: 39G used: 11G (28%) fs: ext4 
           ID: swap-1 size: 3.27GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 43.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 174 Uptime: 2:52 Memory: 751.2/1983.5MB Runlevel: 2 Gcc sys: 4.4.3 
           Client: Shell (bash 4.1.5) inxi: 1.8.32
I run 64bit AntiX on another partition on this hard drive also as I am going to replace Ubuntu when it reaches EOL (end of life)

Code:
@bikertest2:~
$ inxi -Fxz
System:    Host: bikertest2 Kernel: 3.6.6-antix.1-amd64-smp x86_64 (64 bit, gcc: 4.7.2)
           Desktop: Fluxbox 1.3.2 Distro: antiX-base-amd64 Edelweißpiraten 07 November 2012
Machine:   System: LENOVO product: 6075BHU version: ThinkCentre M57
           Mobo: LENOVO model: LENOVO Bios: LENOVO version: 2RKT41AUS date: 03/20/2008
CPU:       Dual core Intel Pentium Dual CPU E2160 (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 ssse3) bmips: 7181.74
           Clock Speeds: 1: 1800.00 MHz 2: 1200.00 MHz
Graphics:  Card: Intel 82Q35 Express Integrated Graphics Controller bus-ID: 00:02.0
           X.Org: 1.12.4 drivers: vesa,intel (unloaded: fbdev) Resolution: 1280x1024@0.0hz
           GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A
Audio:     Card: Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture ver: 1.0.25
Network:   Card-1: Ralink RT2561/RT61 802.11g PCI driver: rt61pci ver: 2.3.0 bus-ID: 11:0c.0
           IF: wlan0 state: down mac: <filter>
           Card-2: Intel 82566DM-2 Gigabit Network Connection driver: e1000e ver: 2.0.0-k port: 1820 bus-ID: 00:19.0
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 80.0GB (-) 1: id: /dev/sda model: ST380815AS size: 80.0GB
Partition: ID: / size: 11G used: 3.8G (38%) fs: ext4 ID: swap-1 size: 3.27GB used: 0.00GB (0%) fs: swap
Sensors:   System Temperatures: cpu: 57.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 89 Uptime: 3 days Memory: 460.8/1982.1MB Runlevel: 5 Gcc sys: N/A
           Client: Shell (bash 4.2.36) inxi: 1.8.24
 
Old 01-24-2013, 03:26 PM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
On my Slackware wireless desktop (uses wicd with XFCE) in my Motorcycle Shop

Code:
$ cat /etc/resolv.conf
# Generated by dhcpcd from wlan0
# /etc/resolv.conf.head can replace this line
domain Belkin
nameserver 192.168.2.1
# /etc/resolv.conf.tail can replace this line
biker:/~
Code:
$ cat /etc/slackware-version
Slackware 13.37.0
 
  


Reply



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
wicd gets stuck on "obtaining IP" Barbarax Linux - Networking 6 01-07-2012 12:38 PM
WEP connection hangs on "setting network address": security/hex box pops up Ubunoob001 Linux - Newbie 1 01-07-2011 04:44 PM
Wicd stuck on "Obtain IP Address" spur45 Linux - Newbie 1 11-06-2009 10:42 PM
Boot now Hangs @ "GRUB" How do I find Stage 2's Address??? Supafast Linux - Hardware 1 07-06-2005 09:55 PM
"Bringing up loopback address" hangs boot process Callahan Linux - Networking 4 12-07-2002 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:54 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