Author Topic: How To Set Up Modem Connection  (Read 3185 times)

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
How To Set Up Modem Connection
« on: June 01, 2006, 09:13:47 pm »
HI all. I have gkdial setup on my boxer & I can dial in & connect to my isp, but I can't seem to figure out how to setup the dns server. I get assigned an ip & I have the address to the dns server. Where do I stick it so it works? thks
« Last Edit: June 01, 2006, 09:32:30 pm by grog »
GROG!

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
How To Set Up Modem Connection
« Reply #1 on: June 02, 2006, 05:19:03 am »
It needs to go in /etc/resolv.conf

http://ka1fsb.home.att.net/resolve.html


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
How To Set Up Modem Connection
« Reply #2 on: June 02, 2006, 06:37:53 am »
Quote
It needs to go in /etc/resolv.conf[div align=\"right\"][a href=\"index.php?act=findpost&pid=129427\"][{POST_SNAPBACK}][/a][/div]
That's what I thought, but it didn't work. Actually at first I noticed that /etc/resolv.conf was a symlink to /var/run/resolv.conf, which didn't exist. I've tried populating the file under  /var/run & then removing the link & creating the file under /etc to no avail.

Now that I've done that, no matter whats in the file, my connection to my home network through my wireless card no longer works (same problem). All I get is a host name lookup failure.

In both cases I know I have a connection 'cause I _can_ ping the site by ip. thks
GROG!

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
How To Set Up Modem Connection
« Reply #3 on: June 02, 2006, 10:50:02 am »
I discussed this with another linux geek in the office , and he suggested looking into the local dns processes on the Z. I remember that udhcpc used to be running, but now it's not. I'm not quite certain what that does, so I'll ask what might be a dumb question; does that have anything to do with my problem? thks
GROG!

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
How To Set Up Modem Connection
« Reply #4 on: June 02, 2006, 06:58:56 pm »
Quote
I discussed this with another linux geek in the office , and he suggested looking into the local dns processes on the Z. I remember that udhcpc used to be running, but now it's not. I'm not quite certain what that does, so I'll ask what might be a dumb question; does that have anything to do with my problem? thks[div align=\"right\"][a href=\"index.php?act=findpost&pid=129473\"][{POST_SNAPBACK}][/a][/div]
Yep, I needed to run:

Code: [Select]
udhcpc -i eth0 -nto get the ip lease & setup the dns servers (at least connected via wireless or hardwire nic, I'll test it out with the dialup this weekend).
GROG!

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
How To Set Up Modem Connection
« Reply #5 on: June 04, 2006, 09:30:42 pm »
Quote
Quote
I discussed this with another linux geek in the office , and he suggested looking into the local dns processes on the Z. I remember that udhcpc used to be running, but now it's not. I'm not quite certain what that does, so I'll ask what might be a dumb question; does that have anything to do with my problem? thks[div align=\"right\"][a href=\"index.php?act=findpost&pid=129473\"][{POST_SNAPBACK}][/a][/div]
Yep, I needed to run:
Code: [Select]
udhcpc -i eth0 -nto get the ip lease & setup the dns servers (at least connected via wireless or hardwire nic, I'll test it out with the dialup this weekend).[div align=\"right\"][a href=\"index.php?act=findpost&pid=129528\"][{POST_SNAPBACK}][/a][/div]
(sigh) Well that did NOT work for dial up.

Code: [Select]
udhcpc -i ppp0 -nfailed to get a lease. I knew I should have tried it before I went out of town. I've been left stranded without a net connection for the last two weekends now!! (GASP!)

Suggestions welcome. thks
GROG!