LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 05-31-2003, 06:16 PM   #1
yurlittlepony
LQ Newbie
 
Registered: May 2003
Location: San Francisco
Posts: 16

Rep: Reputation: 0
Angry Gotta learn to crawl...DHCP is writing no leases for my Win ME laptop?!


help!!! setting up my own network for dumping precious, precious music, and am using SuSe Linux 8.1 for my server box. have not ventured to connect with the net yet (sbc globalnet dsl gives no easy support for linux).

am trying to start with the most basic stuff, i.e. getting my craptop running Windows ME to talk to my Linux box through a cross-cable to move stuff over from the laptop (and eventually put a different OS on the laptop).

they no talk to each other (head scratch). i have written the dhcpd.conf file to read as follows:

==============
option domain-name "sprinkles";
option domain-name-servers ns1.sprinkles, ns2.sprinkles;

default-lease-time 600;
max-lease-time 7200;

subnet 10.152.187.0 netmask 255.255.255.0 {
}

subnet 10.254.239.0 netmask 255.255.255.224 {
range 10.254.239.10 10.254.239.20;
option routers rtr-239-0-1.sprinkles, rtr-239-0-2.sprinkles;
}

ddns-update-style ad-hoc;

================

and no, i don't know why i set them the way they are and have a very tentative grasp of what each line is doing.

well, when i run "dhcpd" in a command line of linux, i get "wrote 0 leases to leases file. Not configured to listen on any interfaces!" + all of the "If you did not get this software....the README file" stuff.

For the laptop, I have TCP/IP installed for the ethernet card, and it is set to "Obtain an IP address automatically".

What gives??? I read somewhere that "option routers 255.255.255.255" must be used for Windows machines, but how does this effect everything else?

ugggh. any ideas?

thanks for the help boys.
 
Old 05-31-2003, 07:51 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
what is your network configuration? how many nics do you have in your server. when you start the dhcp server the message is that it is not listening on any interface. so you it will be better if you bind it to the soecific interface.

post your 'ifconfig' and 'route -n' outputs
 
Old 05-31-2003, 08:20 PM   #3
yurlittlepony
LQ Newbie
 
Registered: May 2003
Location: San Francisco
Posts: 16

Original Poster
Rep: Reputation: 0
[Sounding shamefully simple with her questions and answers, she answers:]

I have an onboard LAN on my main board (10/100 ethernet) for the Linux server, (just one), and a D-link network card (DFE-680 TX/TXD CardBus PC Card) for my laptop (came with the dsl modem), with a cross-cable connected in between (given to me by my IT guy at work, who is not linux saavy).


My ifconfig output is:

eth0 Link encap:Ethernet HWaddr 00:0C:6E:13:DF:A1
inet6 addr: fe80::20c:6eff:fe13:dfa1/10 Scope:Link
UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets:203 errors:0 dropped:0 overruns:0 frame:0
TX packets:262 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:40902 (39.9 kb) TX bytes:152508 (148.9 Kb)
Interrupt:3 Base address:0x8800

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:5206 errors:0 dropped:0 overruns:0 frame:0
TX packets:5206 errors:0 dropped:0 overruns:0 carrier:0
collisionss:0 txqueuelen:0
RX bytes:921729 (900.1 Kb) TX bytes:921729 (900.1 Kb)


The route -n output is:

kernal IP routing table
Destination Gateway Genmask Flags Metric Ref Use IFace

(blank)

Sounds like I'm hitting a blank wall, no?

Like I said, I have TCP/IP enabled in ME, and the little lights are on on my network card, but it sounds like the server sees nothing, right doc?

***** oh, yeah, well i run the "ifconfig" without the cross-over cable properly plugged in and i get essentially the same thing, so this is depressing! Was this a "ping" attempt? Should i have gotten some feedback, even if one or the other of the server and client was incorrectly configured, so long as the cross-over cable is plugged between them?

Last edited by yurlittlepony; 05-31-2003 at 08:49 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp not writing leases oberon-ken-obi Linux - Newbie 8 04-14-2005 01:44 PM
hostname not showing up in DHCP leases table! halo14 Debian 0 03-24-2005 09:37 AM
Wrong Hostname in the DNS and DHCP Address Leases of Windows 2000 saneax Linux - Networking 1 03-03-2005 03:14 AM
DHCP leases file not being generated. abhijeetudas Linux - Networking 1 09-25-2004 10:31 PM
DNS not resolving notes server name and dhcp not releasing leases DanielKwok Linux - Networking 1 02-10-2004 10:04 PM


All times are GMT -5. The time now is 07:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration