LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2007, 01:50 PM   #1
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Rep: Reputation: 15
My DHCP o my god, my DHCP


linux initialization
...going multiuser...
<Probing for PCIC: edit /etc/rc.d/rc.pcmcia>
DHCPCD: MAC address = 00 :: 15 ::...(moja mac adresa)
and here he stays fo about 3-4minutes then pass, but I don't have network
reboot
again same thing
reboot
again
reboot
again
reboot
<Probing for PCIC: edit /etc/rc.d/rc.pcmcia>
DHCPCD: MAC address = 00 :: 15 ::...(moja mac adresa)

and here after 4 reboot he give me IP, I try to go in windows, and it always work, but in linux hmm...

I use slackware 11 , kernel 2.6.19.2, my network card is realtek 8111b.

anybody, help?
O my god, o my poor DHCP..
 
Old 02-09-2007, 02:27 PM   #2
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Rep: Reputation: 16
1. What is the output of "ifconfig"?

2. Are you on a lan? or directly hooked up to a cable/dsl modem?
 
Old 02-09-2007, 02:32 PM   #3
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Original Poster
Rep: Reputation: 15
I have a cable conection, lan.

this is when it does not work
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

and here is now
eth0 Link encap:Ethernet HWaddr 00:15:58:72:AA:90
inet addr:87.116.171.104 Bcast:87.116.171.255 Mask:255.255.254.0
inet6 addr: fe80::215:58ff:fe72:aa90/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:195032 errors:0 dropped:0 overruns:0 frame:0
TX packets:32624 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:46961467 (44.7 MiB) TX bytes:3214778 (3.0 MiB)
Interrupt:17 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
Restarting computer every time to get linux work make me nervous, that is one of reason I don't use win btw
 
Old 02-09-2007, 03:01 PM   #4
dohpaz
Member
 
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117

Rep: Reputation: 16
I think you mean you have a cable connection. A lan means you have a
router or some other dhcp server between your comp and your cable modem. Also your working ifconfig shows an ip which is not a "class c" address this tells me you are probably hooked up to a cable modem.

You don't need to restart to linux to retry the dhcp connection all you have to do is this:

/etc/rc.d/rc.inet1 restart



First power cycle your cable modem. Meaning unplug it for 10-15seconds then plug it back in. Make sure all the lights on the
cable modem are ok. Usually theres a status/link light or something.

Wait for the modem to restart then try :
/etc/rc.d/rc.inet1 restart.

If you have another computer you can try testing it with the cable modem to see if it has a problem connecting as well.
 
Old 02-09-2007, 03:02 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Can you please post the output of lspci and lsmod?
Also, if the machine is NOT a notebook and you're not
using any pcmcia devices, I'd disable their lookup;
there were numerous problems with varied hardware
caused by PCMCIA drivers (chmod a-x /etc/rc.d/rc.pcmcia).


Cheers,
Tink
 
Old 02-10-2007, 03:39 AM   #6
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Original Poster
Rep: Reputation: 15
/etc/rc.d/rc.inet1 restart
when I do this it give me massige "that command soes not exists"
Tinkster I think you have right, I;m on desktop PC, I put this command chmod a-x /etc/rc.d/rc.pcmcia, and now waiting to restart computer. I hope this work.
 
  


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
Migrate DHCP from Microsoft to ISC DHCP on Linux rsmccain Linux - Networking 4 10-27-2006 07:47 PM
How To know if a host configured with DHCP has obtained IP address from DHCP server? Prassanta SUSE / openSUSE 1 06-29-2006 09:48 AM
ADSL DHCP A-OK, but Mandrake 10.1 to be DHCP for other subnet is a problem turnbui Linux - Networking 2 08-20-2005 09:34 AM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 05:18 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 - Newbie

All times are GMT -5. The time now is 12:20 AM.

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