LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-10-2005, 11:17 PM   #1
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 128

Rep: Reputation: 15
Auto-configuring PCMCIA NIC doesn't work on bootup


Hi all -

I have been trying all afternoon to get this working. Basically, the problem is that a I have an Orinoco PCMCIA NIC in a Dell Inspiron 8100 laptop, running Debian testing, which I simply cannot get to configure correctly at boot time. It comes up, but not with the correct essid, bit rate, or nickname, and without an encryption key - iwconfig tells me it's set up with essid "linksys" and nickname "HERMES I", bit rate 1Mb/s, no encryption.

I wrote a script to configure it (correctly) manually (using iwconfig) after bootup, but I shouldn't have to do it that way.

I have the following in /etc/network/interfaces:

# The loopback network interface
auto lo
allow-hotplug eth2

iface lo inet loopback
address 127.0.0.1

mapping hotplug
script grep
map eth2

# The wired network interface (not brought up automatically)
iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

# Wireless card
iface eth2 inet static
address 192.168.1.25
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
wireless-essid xxxxxxx
wireless-mode Managed
wireless-nick c3po-wifi
wireless-enc [1] xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx restricted

Interface eth0 is the wired NIC, which I rarely use on this machine; eth1 gets assigned to a Firewire plug, which I don't use for networking purposes.

I do still have stuff in /etc/pcmcia/wireless.opts, though I gather through numerous Google searches that it's ignored if using /etc/network/interfaces to bring up the NIC.

Can anyone give me a clue as to what I need to do to get this configured correctly at boot time?


TIA - Bob
 
Old 12-11-2005, 09:19 PM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
I think you need:

auto eth2
allow-hotplug eth2


I don't think you need:

mapping hotplug
script grep
 
  


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
Auto run at bootup irfan44 Linux - Software 6 05-21-2004 09:44 AM
nic auto startup doesnt work one.eleven Linux - Networking 3 01-02-2004 04:37 PM
Configuring NIC PCMCIA Card jhayden Linux - Newbie 7 03-17-2003 05:09 PM
PCMCIA NIC doesn't work any more X11 Linux - Hardware 1 07-21-2002 06:20 AM
Configuring PCMCIA nic / peanut linux rioguia Linux - Newbie 1 06-26-2002 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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