LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   My DHCP o my god, my DHCP (https://www.linuxquestions.org/questions/linux-newbie-8/my-dhcp-o-my-god-my-dhcp-527087/)

vladakg85 02-09-2007 01:50 PM

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..:(

dohpaz 02-09-2007 02:27 PM

1. What is the output of "ifconfig"?

2. Are you on a lan? or directly hooked up to a cable/dsl modem?

vladakg85 02-09-2007 02:32 PM

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 :)

dohpaz 02-09-2007 03:01 PM

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.

Tinkster 02-09-2007 03:02 PM

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

vladakg85 02-10-2007 03:39 AM

/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.


All times are GMT -5. The time now is 09:54 PM.