LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-20-2005, 11:07 PM   #1
andrewguy9
LQ Newbie
 
Registered: Apr 2004
Location: UC Davis
Posts: 9

Rep: Reputation: 0
Smile resolv.conf ifup dhcpcd not working together


Alright, so i thought it would be a good idea to try out Suse. For the first hour I loved it..
Its great at detecting my laptop power support. YEAH!!!

Then it tried to configure my wireless lan card...
I have setup ndiswrapper before on mandrake and red hat. I have no trouble with it.

So after installing the suse ndiswrapper rpm and configuring my card settings I try out ifup...
Ifup was able to get an ip, which was great.
So i pinged my router and got aresponce. great.
So i pinged yahoo and could not resolve the name.
I tried going to several websites and could not get any of them.
i tried to ping my modem (on the other side of my router) and failed...
I tried ifdown and then dhcpcd wlan0
I got an ip, and the work totally worked. Everything...


I want this thing to work properly with ifup wlan0!!!!


So i've been trying this for ALL DAY!!!
My girlfriend also has just installed suse and has the EXACT same problem
with her Toshiba satellite using a linux pcmia card.


Here is some other info i came up with:
It looks like ifup leaves a blank resolv.conf
dhcpcd places a whole bunch of comments in resolv.conf, but has no actual info in there...
it also makes a file resolv.conf.saved.by.dhcpcd.wlan0 but that does not have info...

does anyone know how to get ifup to work like dhcpcd and get the name recognition up??
 
Old 03-19-2005, 03:43 PM   #2
jladd
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
dhcpd resolv.conf

I've found in Suse that the dhcpd also creates a default route, in this case to the router. I assume you're relying on your router to get the name servers. I can't remember the syntax but I think there's a route config file for each device. Something like ifroute-eth1 for your wireless card. You may need this config file if you just want to use ifup. I may be wrong but just another angle to consider.

Just looked up the specifics. Here's an example:
file: /etc/sysconfig/network/ifroute-eth1
entry: default 192.168.1.1 0.0.0.0 eth1

hth,
jason.
 
  


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
resolv.conf albundy Linux - Software 5 12-14-2004 04:12 PM
/etc/resolv.conf Pedroski Linux - Networking 1 06-22-2004 11:03 AM
resolv.conf jmdlcar Slackware 9 05-15-2004 12:44 PM
resolv.conf ricemark20 Linux - Networking 12 11-11-2003 05:08 PM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 01:00 PM

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

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