LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-15-2003, 01:51 AM   #1
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
DHCP client configuration - debian


I managed to configure my eth card to work on dhcp (or at least I think so) but I can't access the Internet.

dpkg-reconfigure dhcp-client - is that correct?

The way would do it : through a proxy server located at *.*.*.1

how can I do this ?

a tool , a file to edit...

and how could I find out my IP?

running ifconfig returns a text at the IP filed, don't remember what
 
Old 08-15-2003, 02:08 AM   #2
Nightblade_oz
LQ Newbie
 
Registered: Aug 2003
Location: Australia
Distribution: Fedora Core 2
Posts: 24

Rep: Reputation: 15
As far as I know you don't need to run a DHCP client to connect to the internet. If you're on dialup, your PPP software will handle it for you.

Cheers,
Nightblade_oz
 
Old 08-15-2003, 06:54 AM   #3
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Original Poster
Rep: Reputation: 30
I am connecting through a proxy on ethernet

My isp has a dhcp server installed so that he can keep things under control

Currently I am on my machine from Win2k
 
Old 08-15-2003, 06:58 AM   #4
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Original Poster
Rep: Reputation: 30
And another thing, how do I configure that the port number that I connect to?

He is running squid on port no PORT_NO
 
Old 08-15-2003, 07:37 AM   #5
yuray
Member
 
Registered: Apr 2003
Location: Russia, Khotkovo
Distribution: Debian
Posts: 146

Rep: Reputation: 15
Proxy settings need setup only in Internet browser (and port too).
DHCP server not send proxy settings usually.
 
Old 08-15-2003, 09:42 AM   #6
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
All network interface configuration in Debian is done in /etc/network/interfaces. If you want more info on that file's layout, man 5 interfaces.
 
Old 08-15-2003, 10:12 AM   #7
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Original Poster
Rep: Reputation: 30
Cool It works now!!!!!!

HE-YA!!!
I am "speaking" from linux !!!!!
U don't really know how happy I am

I couldn't make the dhcp-client to work...
Don't know why , but I installed bootp - dhcp client from red hat and it worked right away ....

I hope after a reboot it will work.
Wish me luck!!
 
Old 08-15-2003, 10:16 AM   #8
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Original Poster
Rep: Reputation: 30
I mean pump!!
 
Old 08-15-2003, 12:11 PM   #9
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Original Poster
Rep: Reputation: 30
Lightbulb It works finally

It didn't work, 'cause pump didn't start on boot

How I managed to make it work (for people that need to know later):
[list=1][*]installed pump[*]made /etc/init.d/pump script file
Code:
          #/bin/sh
          echo Starting pump DHCP client...
          /sbin/pump
          exit 0
[*]ran update-rc.d command to insert pump on the normal runlevels
Code:
          update-rc.d pump start 80 2 3 4 5 .
[/list=1]

and if u wish,
Code:
telinit 4
to switch to runlevel 4(or any other - not 0 or 6 ) and start the rc scripts or, more easily, just reboot

And there u go!!!

The crowd goes
The crowd goes
 
  


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
DHCP client configuration TaNeK Linux - Newbie 1 12-12-2004 06:23 AM
DHCP Client Configuration jpr9898 Linux - Networking 2 12-05-2004 12:54 AM
Newb Trying to get dhcp-client to work in debian xixer Linux - Networking 3 03-18-2004 12:23 PM
Firestarter "No DHCP client configuration found" Locura Linux - General 1 12-10-2003 10:05 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

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

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