LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-04-2006, 04:15 AM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
Intel ipw3945 Says 'Connected' But Can't Surf.


Hi, I have an Intel 3945ABG Wireless Chip on my laptop. This chip works perfectly in Debian Kanotix/Sid.

However I cannot get it to work properly in Ubuntu. I used wireless assistant to connect - and it says I am connected.

Wireless assistant is fairly easy to set up.

To do so I do the following:

I enter a static IP address of 192.168.1.104

25) I then enter a network mask of 255.255.255.0

26) I enter the broadcast address as 192.168.1.255

27) I enter the default gateway as 192.168.1.1

28 ) I enter the nameserver as 192.168.1.1

In the final step I enter my ASCII 13 character WEP key.

I then click on connect and a few seconds later I get a message saying I am connected. However when I try to surf the internet or browse my network nothing happens.

Previously in Debian Sid/Kanotix my /etc/network/interfaces file was set up as follows:

Code:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo eth0 eth2
iface lo inet loopback

iface eth0 inet static
	address 192.168.2.104
	netmask 255.255.255.0
	network 192.168.1.0
	broadcast 192.168.1.255
#	gateway 192.168.1.1





iface eth2 inet static
	address 192.168.1.102
	netmask 255.255.255.0
	network 192.168.1.0
	broadcast 192.168.1.255
	gateway 192.168.1.1
 wireless-mode Managed
 wireless_key s:MYWEPKEY

However in Kubuntu /etc/network/interfaces is configured  as follows:

Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
 wireless-essid MYNETWORK
Which is formatted really quite differently. I tried simply substituting my Kanotix /etc/network/interfaces file for the Kubuntu one - but that didn't work - and indeed even my wired network failed after a reboot. (Thankfully I had backed my original /etc/network/interfaces file up).

The output of ifconfig and iwconfig are as follows:


Code:
eth0      Link encap:Ethernet  HWaddr 00:A0:D1:41:75:19
          inet addr:192.168.1.112  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2a0:d1ff:fe41:7519/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15719 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9528 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18719228 (17.8 MiB)  TX bytes:966007 (943.3 KiB)


eth1      Link encap:Ethernet  HWaddr 00:13:02:71:F2:A2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:63283 errors:1482 dropped:1488 overruns:0 frame:0
          TX packets:401 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:389469 (380.3 KiB)  TX bytes:17951 (17.5 KiB)
          Interrupt:185 Base address:0x2000 Memory:da000000-da000fff

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:133 errors:0 dropped:0 overruns:0 frame:0
          TX packets:133 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:14896 (14.5 KiB)  TX bytes:14896 (14.5 KiB)
Code:
:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11g  ESSID:"Jebus97"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:14:C1:19:0F:0C
          Bit Rate:54 Mb/s   Tx-Power:15 dBm
          Retry limit:15   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=93/100  Signal level=-36 dBm  Noise level=-37 dBm
          Rx invalid nwid:0  Rx invalid crypt:1388  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:6   Missed beacon:0
So as you can see the network is associated, but it appears to be unable to obtain an IP address, or any routing/default gateway information etc.

The question is, how can I enter these details manually so that the system is able to correctly identify IP/routing/gateway information etc - and also so that I can ensure that this information is retained after each reboot?
 
Old 12-04-2006, 11:33 AM   #2
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Rats I should have said I'm using Kubuntu.
 
Old 05-14-2007, 10:22 AM   #3
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

Slowly...lets get this right..."ifconfig" shows Eth0 as [192.168.1.112], that is what YOU need to change everything else to. That is the IP that works. Kubuntu is Ubuntu with a default Desktop using KDE. It is wonderful for all our friends that appreciate and depend on K3b. I don't see all YOUR Nameservers <none of my business, so its cool> IMHO they need to be checked and compared to the entire contents of YOUR Networking files. It appears to be listed as Nameserver [192.168.1.1], seems to me not accurate. If [192.168.1.1] is accurate, I apologize to YOU.
 
Old 05-14-2007, 10:43 AM   #4
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
go to terminal window - see if you can do ping thats one
See if you can ping a website by IP address.
If you can do following - change resolv.conf and put some DNS entries apart from
192.x thingy

nameserver [nameserver/dns server ip address]


Given thing works good on redhat
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Intel wireless 3945BG (ipw3945) will not associate HarPaX Linux - Wireless Networking 10 10-06-2006 06:44 AM
So close on IPW3945!!!! akafitz Linux - Hardware 3 07-13-2006 01:37 AM
Connected to my IP but can't surf the web misand Linux - Networking 5 04-20-2004 03:06 PM
Limit connected items connected to my router andersh3 Linux - Newbie 1 03-16-2004 11:10 AM
Connected to network but canīt surf the net jimdaworm Linux - Networking 3 08-19-2003 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration