LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-30-2005, 01:11 PM   #1
sharp11
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Can't get wifi working, Orinoco on IBM T22 laptop


Can't get wifi working, Orinoco on IBM T22 laptop

I have a classic Orinoco gold card (rebranded 2Wire) and an old T22. The card works fine under Knoppix livecd, but i've not been able to get it running under Ubuntu 5.04 (Hoary). (Haven't upgraded to Breezy bc i can't risk downtime right now -- I'm nowhere near linux expert.)

I can see the drivers in lsmod:

Code:
orinoco_cs              8968  1
orinoco                38284  1 orinoco_cs
hermes                  7936  2 orinoco_cs,orinoco
pcmcia                 21380  5 orinoco_cs
pcmcia_core            53568  3 orinoco_cs,pcmcia,yenta_socket
And dmsg doesn't appear to have any wifi errors:

Code:
eth1: Station identity 001f:0001:0008:002a
eth1: Looks like a Lucent/Agere firmware version 8.42
eth1: Ad-hoc demo mode supported
eth1: IEEE standard IBSS ad-hoc mode supported
eth1: WEP supported, 104-bit key
eth1: MAC address 00:02:2D:B6:0C:59
eth1: Station name "HERMES I"
eth1: ready
eth1: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
eth1: no IPv6 routers present
eth1: no IPv6 routers present
eth1: no IPv6 routers present
Here's my ifconfig (eth0 is my wired connection):

Code:
eth0      Link encap:Ethernet  HWaddr 00:03:47:BA:92:25
          inet addr:10.0.1.3  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::203:47ff:feba:9225/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24239 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18608 errors:10 dropped:0 overruns:0 carrier:10
          collisions:0 txqueuelen:1000
          RX bytes:21891783 (20.8 MiB)  TX bytes:4728100 (4.5 MiB)

eth1      Link encap:Ethernet  HWaddr 00:02:2D:B6:0C:59
          inet6 addr: fe80::202:2dff:feb6:c59/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:87 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:3 Base address:0x100

lo [removed from output]
Here's output of trying ifup eth1:

Code:
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth1/00:02:2d:b6:0c:59
Sending on   LPF/eth1/00:02:2d:b6:0c:59
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Finally, here's my /etc/network/interface:

Code:
# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
	script grep
	map eth0

# The primary network interface
iface eth0 inet dhcp

iface eth1 inet dhcp
wireless-essid kaimen

auto eth1

auto eth0

Last edited by sharp11; 10-30-2005 at 01:12 PM.
 
Old 10-30-2005, 10:02 PM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
What's the output of:
#iwconfig eth1
 
Old 10-30-2005, 10:08 PM   #3
sharp11
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Here's my iwconfig for eth1:

Code:
eth1      IEEE 802.11-DS  ESSID:"kaimen"  Nickname:"HERMES I"
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:30:65:1F:BB:39
          Bit Rate:11 Mb/s   Tx-Power=15 dBm   Sensitivity:1/3
          Retry limit:4   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=56/92  Signal level=-37 dBm  Noise level=-93 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 
Old 10-31-2005, 12:10 AM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
OK, that looks fine. You're associated with the AP and getting a good signal.

Instead of running the ifup script, try dhclient or pump (not sure which on Ubuntu) to pull an IP address.
 
Old 10-31-2005, 01:49 AM   #5
sharp11
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, great! dhclient works ... well, sort of. I have connectivity for a while, but then it seems to stop working. Mhrrr. I'm sitting right next to an airport base station... Can you give me any sense of the big picture here? Where should dhclient be getting called ... I don't really have a clue about how to debug this...
 
Old 10-31-2005, 09:14 AM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
The command ifup isn't really a command, it's a script. Open it up to see what commands it's calling. Not sure how Debian distros save network parameters or where the ifup script is invoked, though. Sorry.

Odd that it stops working. Check /var/log/messages to see if there's any clue of what's happening. Are there a lot of other wireless LANs in near you? Maybe you're too close to the AP (seriously). I've seen folks report that if they are right next to the AP, things don't work. Not likely, but a thought.
 
Old 10-31-2005, 12:42 PM   #7
sharp11
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Well, a step closer anyway... is there some way to watch what's actually going on in terms of network traffic?

There's just one network right here, and i'm not physically on top of it... Btw, on ubuntu ifup is a binary -- according to the man, it's a wrapper for low level routines such as ifconfig and route.

Thanks for your help...
 
Old 10-31-2005, 05:13 PM   #8
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
OK, I learned something new. I've not fooled much with Debian. My assumptions about ifup came from SuSE and RH.

I should stick to answering questions about Slackware, I guess.

I suppose you could run Ethereal to see what's happening in terms of data packets, but that seems like using a hammer to swat flies. Maybe someone can suggest a better tool.
 
  


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
IBM t22 blank screen oobe Linux - Laptop and Netbook 2 11-22-2004 05:43 AM
IBM T22 Thinkpad Winmodem nallee Linux - Laptop and Netbook 0 11-16-2004 11:05 PM
Best Distro For IBM T22 quo_vadis Linux - Distributions 3 07-19-2004 06:56 AM
need help finding wifi option in make menuconfig and cant get orinoco pcmcia working hotgirl101 Linux - Software 2 04-05-2004 06:58 PM
configure an IBM T22 Arkaine Linux - Laptop and Netbook 3 02-19-2004 09:34 PM

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

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