LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-06-2005, 08:33 PM   #1
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Rep: Reputation: 30
wireless with kernel 2.6.12


hello, i just upgraded my kernel to 2.6.12 on a dell latitude d610 following the steps located on the linux on laptops site. I am still having problems with my wireless card. I have the wireless tools installed and am able to see my wireless card using kwifimanager, however i have to use the function+f2 to turn it off and then turn it back on. Once it is turned back on i can see the wirless network but it will not pull and ip address from dhcp. Any suggestions how to set the card up for this? During the initial install i used the intergrated lan card, but have since disabled it in the bios. Any suggestions on how to get my wireless card to pull and address? I am also able to see my card us iwpriv. Thanks
 
Old 09-07-2005, 09:13 AM   #2
Pingus
Member
 
Registered: Nov 2004
Location: Canada
Distribution: SuSE 9.1 pro/Debian Sarge
Posts: 61

Rep: Reputation: 15
Did you run dhclient to obtain an IP address?

The easiest is probably to have a section for your wireless adapter in your /etc/network/interfaces and use 'ifup eth1' (where eth1 is the device associated with your wireless card).

Hope this helps.
 
Old 09-07-2005, 04:55 PM   #3
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
I have reactivated my internal nic. Below is the output from dhclient with eth0 being my intergrated nic and eth1 being my wireless card.

# dhclient
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/sit0/<null>
Sending on LPF/sit0/<null>
Listening on LPF/eth1/00:13:ce:1b:43:10
Sending on LPF/eth1/00:13:ce:1b:43:10
Listening on LPF/lo/<null>
Sending on LPF/lo/<null>
Listening on LPF/eth0/00:12:3f:1b:33:32
Sending on LPF/eth0/00:12:3f:1b:33:32
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 3
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.103 -- renewal in 43200 seconds.


below is what is listed in my /etc/networ/interfaces file

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp


I'm sure i need to add something for eth1 but do not know what to add? Thanks in advance
 
Old 09-07-2005, 06:32 PM   #4
zuessh
Member
 
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
Okay, I'm half way there. I added the following lines to my /etc/network/interfaces file
auto eth1
iface eth1 inet dhcp

I can now rerun dhclient or use the function+f2 and the card will obtain an address via dhcp. Bad news is it will not get one on bootup. I tried commenting out the eth0 lines in /etc/network/interfaces and eth1 attempted to pull and ip on boot but failed. Any ideas why it will not pull an address on boot?
 
Old 09-07-2005, 06:38 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Is there a script, such as /etc/init.d/network that is used at startup/shutdown to bring your network up and down? If so, that would be the first thing to browse.
 
Old 09-08-2005, 09:05 AM   #6
Pingus
Member
 
Registered: Nov 2004
Location: Canada
Distribution: SuSE 9.1 pro/Debian Sarge
Posts: 61

Rep: Reputation: 15
The lines you added to /etc/network/interfaces are fine (provided you are sure eth1 is the correct interface name for your card).
Also, leave the lines for eth0; you'll need them for ethernet connection.

Now from the command line, instead of saying 'dhclient', just say
"ifup eth1".
 
  


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
wireless on kernel 2.4.27 woodland56 Linux - Wireless Networking 1 09-16-2005 08:09 PM
Hard choice:kernel 2.4.1+wireless -mouse OR 2.6 -wireless +mouse mjolnir Linux - Hardware 2 07-05-2005 07:34 AM
which kernel is best for wireless? taoweijia Linux - Wireless Networking 1 07-14-2004 10:25 PM
Wireless works in Debian 2.2.18 kernel, but not in 2.4.25 kernel pshapiro Linux - Wireless Networking 5 04-06-2004 11:18 PM
Kernel 2.6 Supports Wireless redneon Linux - Wireless Networking 2 01-19-2004 09:35 AM

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

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