Mint 12 LXDE: Wifi connection fails although network visible

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ThomasBrinkmann

Mint 12 LXDE: Wifi connection fails although network visible

Post by ThomasBrinkmann »

The problem: I installed Linux Mint 12 LXDE on my old desktop and tried to connect to a Wifi. The network manager sees the network and requests a password. I introduce the password, the computer tries to connect and after about one minute requests again the password. I have tried the password several times. We have two notebooks that are already connected to this Wifi, one running with Linux Mint 13 Mate.

The hardware: Pentium 3 with 1 GHz and 768 MB RAM, wireless USB adapter from Realtek (RTL8192C USB, compatible with Linux)

What I have tried:
1) Install a newer Linux Mint version on my desktop. This failed because the BIOS only allows me to boot from a CD. I tried to boot from a USB stick using plop boot manager, but the installation hung up twice (with two different USB sticks). I tried to install an inofficial Mint 13 version via CD (http://forums.linuxmint.com/viewtopic.php?f=46&t=103449), but an error message appeared during installation.
2) Install the latest version of the driver of the USB adapter provided by Realtek. Installation was completed successfully, but the problem remained (i.e. network visible, connection fails).
3) Disable ipv6 by putting the following lines in /etc/sysctl.conf (http://askubuntu.com/questions/309461/h ... ermanently):

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

That did not change the behaviour, but resulted in three error messages during the boot sequence (error: out of disk; error: no suitable mode found; error: no video mode activated). So I removed the three lines, but the error messages stayed even though the computer then continues normally.


Any idea of what I could do to connect the desktop to the network?


Output from the terminal:

Code: Select all

$ mintwifi
-------------------------
* I. scanning WIFI PCI devices...
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off

-------------------------
* IV. querying ifconfig...
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:228 errors:0 dropped:0 overruns:0 frame:0
TX packets:228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18072 (18.0 KB) TX bytes:18072 (18.0 KB)

wlan0 Link encap:Ethernet HWaddr 00:0b:81:88:6c:c4
inet6 addr: fe80::20b:81ff:fe88:6cc4/64 Scope:Link
UP 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)

-------------------------
* V. querying DHCP...
[sudo] password for tomcat:
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached

Code: Select all

$ inxi -FC 0
System: Host tomcat Kernel 3.0.0-12-generic i686 (32 bit) Desktop LXDE (Openbox 3.5.0) Distro Linux Mint 12 LXDE
Machine: System American Megatrends product VIA694X/686A version 00000000
Mobo Gigabyte model 6VX7-4X version 1.0 Bios American Megatrends version 62710 date 10/03/2000
CPU: Single core Pentium III (Coppermine) (-UP-) cache 256 KB flags (sse) clocked at 997.420 MHz
Graphics: Card: nVidia NV11 [GeForce2 MX/MX 400]
X.Org 1.10.4 drivers nouveau unloaded: fbdev,vesa Resolution 1024x768@75.1hz
GLX Renderer Mesa DRI nv11 x86/MMX/SSE GLX Version 1.2 Mesa 7.11
Audio: Card VIA VT82C686 AC97 Audio Controller driver VIA 82xx Audio Sound: ALSA v: 1.0.24
Drives: HDD Total Size: 162.1GB (1.6% used) 1: /dev/sda WDC_WD1600BB 160.0GB
2: USB /dev/sdb Flash_Disk 2.1GB
Partition: ID:/ size: 146G used: 2.5G (2%) fs: ext4 ID:swap-1 size: 0.80GB used: 0.04GB (5%) fs: swap
Sensors: Error: You do not have the sensors app installed.
Info: Processes 114 Uptime 56 min Memory 152.1/369.9MB Client Shell inxi 1.7.7
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DrHu

Re: Mint 12 LXDE: Wifi connection fails although network vis

Post by DrHu »

OK, so what do some tcp/ip commands in a terminal indicate
  • *ifconfig
    *netstat -rn
    *ping an IP address
    --does loopback ping ok 127.0.0.1
    *ping the router (what is the IP address of your router)
    --usually 192.168.0.1 or similar
    --can you connect to the web page of the router via it's IP address
http://www.linuxhomenetworking.com/wiki ... 2gMnlcSCyU

Additionally is there a hardware switch on that wifi device ?, which can be ON or OFF
--I wouldn't worry about IPV6 settings, whether on or off for your device (NIC), it shouldn't matter, although with a small network and being behind an ISP router there is no great need to enable IPV6

I would probably either reset the network manager, that is recreate the connection or run through some terminal commands for the TCP/IP setup for the nic + router, as well as checking the router's status on its built-in WEB page..
--allows configuring attached nics or other LAN devices

Additionally there is the issue of how you are connecting to the Apache web server (Tomcat)
http://ubuntuforums.org/showthread.php? ... ht=tomcat6
--also worth a look..
ThomasBrinkmann

Re: Mint 12 LXDE: Wifi connection fails although network vis

Post by ThomasBrinkmann »

Thanks for the suggestions. Here the output of the terminal:

Code: Select all

$ ifconfig
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:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3216 (3.2 KB) TX bytes:3216 (3.2 KB)

wlan0 Link encap:Ethernet HWaddr 00:0b:81:88:6c:c4
UP 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)

[$ ifconfig -a gives exactly the same result indicating that both interfaces are activated.]

Code: Select all

netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface

Code: Select all

ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_req=1 ttl=64 time=0.101 ms
64 bytes from 127.0.0.1: icmp_req=2 ttl=64 time=0.091 ms
64 bytes from 127.0.0.1: icmp_req=3 ttl=64 time=0.087 ms
64 bytes from 127.0.0.1: icmp_req=4 ttl=64 time=0.093 ms
64 bytes from 127.0.0.1: icmp_req=5 ttl=64 time=0.097 ms
64 bytes from 127.0.0.1: icmp_req=6 ttl=64 time=0.098 ms
64 bytes from 127.0.0.1: icmp_req=7 ttl=64 time=0.097 ms
64 bytes from 127.0.0.1: icmp_req=8 ttl=64 time=0.092 ms
64 bytes from 127.0.0.1: icmp_req=9 ttl=64 time=0.096 ms
64 bytes from 127.0.0.1: icmp_req=10 ttl=64 time=0.094 ms
^C
--- 127.0.0.1 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 8996ms
rtt min/avg/max/mdev = 0.087/0.094/0.101/0.011 ms

Code: Select all

ping 192.168.1.1
connect: Network is unreachable

- I cannot connect to the web page of the router with the desktop, but yes, I can do so with the other laptop where Linux Mint 13 is installed.
- There is no hardware switch on the wireless USB adapter.
- I apologise, but I do not understand the other suggestions, i.e. how to reset the network manager, which terminal commands to run, what to check of the router's status (the router runs fine with two notebooks) and how to connect to the Apache web server.

Thanks in advance for any further suggestions.
Locked

Return to “Networking”