Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linksys CableDsl Router and DHCP etc.

Reply
Thread Tools Display Modes

Linksys CableDsl Router and DHCP etc.

 
 
kung__fusion@hotmail.com
Guest
Posts: n/a

 
      06-06-2004, 06:46 PM

I just installed a Linksys router to share broadband between
a Windows "XP Home" and a Redhat Linux machine. The
internet sharing is fine. What I'd like to do, if it can be
done simply, is to keep the router and machines set up
to use dynamic IP addressing but be able to refer to
the machines on the Lan by name. All the solutions
I could find using Google disable dynamic IP and
require filling in the ISP nameserver IPs. I'd rather
not do that since they tend to change and the ISP
is really set up to dynamically query for the DNS
server. Plus if I keep them dynamic if need be I
can pull out the router and connect the NIC
directly to the modem and get on the air easily
again(as in the case of giving the older machine
to somebody with broadband etc..)

I want to be able to transfer files back and forth but
I don't want to get into Samba setup right now since
the Linux machine is likely to change to Mandrake
and then another PC altogether, so I don't want
to put too too much sweat into it. Just NFS or
somehow lob files ocassionally back and forth.
I'd rather not have to do the ftp://xxx.xxx.xxx.xxx
url thing with FTP or something that clunky if
I don't have to though.

TIA

 
Reply With Quote
 
 
 
 
CJT
Guest
Posts: n/a

 
      06-07-2004, 09:37 PM
(E-Mail Removed) wrote:

> I just installed a Linksys router to share broadband between
> a Windows "XP Home" and a Redhat Linux machine. The
> internet sharing is fine. What I'd like to do, if it can be
> done simply, is to keep the router and machines set up
> to use dynamic IP addressing but be able to refer to
> the machines on the Lan by name. All the solutions
> I could find using Google disable dynamic IP and
> require filling in the ISP nameserver IPs. I'd rather
> not do that since they tend to change and the ISP
> is really set up to dynamically query for the DNS
> server. Plus if I keep them dynamic if need be I
> can pull out the router and connect the NIC
> directly to the modem and get on the air easily
> again(as in the case of giving the older machine
> to somebody with broadband etc..)
>
> I want to be able to transfer files back and forth but
> I don't want to get into Samba setup right now since
> the Linux machine is likely to change to Mandrake
> and then another PC altogether, so I don't want
> to put too too much sweat into it. Just NFS or
> somehow lob files ocassionally back and forth.
> I'd rather not have to do the ftp://xxx.xxx.xxx.xxx
> url thing with FTP or something that clunky if
> I don't have to though.
>
> TIA
>


If you've only got a couple of machines, just put them in the
"hosts" files on each machine with their local IP addresses
and whatever names you choose. You don't need to run DNS or
a WINS server for simple name resolution.

Use ftp (not from your browser, but from an ftp client) to
transfer files, initiated from the XP machine (since as I
recall it has a client out-of-the-box, but not a server).

If you want to do Windows style shares, I think your best bet
is Samba. It isn't that hard to do.

If you want to serve files up via a browser, I think Apache is
probably where you should be looking.

--
The e-mail address in our reply-to line is reversed in an attempt to
minimize spam. Our true address is of the form che...@prodigy.net.
 
Reply With Quote
 
kung__fusion@hotmail.com
Guest
Posts: n/a

 
      06-07-2004, 11:29 PM
On Mon, 07 Jun 2004 21:37:07 GMT, CJT <(E-Mail Removed)> wrote:

>If you've only got a couple of machines, just put them in the
>"hosts" files on each machine with their local IP addresses
>and whatever names you choose. You don't need to run DNS or
>a WINS server for simple name resolution.


Hi. Thanks for the reply. I did that and I can ping both machines
by name, but doing a lookup fails. I'm wondering if maybe I
put the machine names in lmhosts if Samba will work?

>
>Use ftp (not from your browser, but from an ftp client) to
>transfer files, initiated from the XP machine (since as I
>recall it has a client out-of-the-box, but not a server).
>
>If you want to do Windows style shares, I think your best bet
>is Samba. It isn't that hard to do.


I'm just wondering if it will work if name lookup fails.
Ping seems to be smart enough to look in the hosts
file. I just installed mandrake 9.1 and I'm at the same
point AFA the network goes. Although I must say
things came up workin' pretty good out of the box.
I just don't want to jump into Samba setup if it's
doomed to failure. It worries me that nothing
will lookup the local machine names(except for
ping that is.)

Is anyone else using the trick of forcing dynamic ip
assigment to known values and putting that ip info
in the hosts files? (That's how I got ping to work)

Thanks for any info.

 
Reply With Quote
 
CJT
Guest
Posts: n/a

 
      06-08-2004, 11:58 PM
(E-Mail Removed) wrote:

> On Mon, 07 Jun 2004 21:37:07 GMT, CJT <(E-Mail Removed)> wrote:
>
>
>>If you've only got a couple of machines, just put them in the
>>"hosts" files on each machine with their local IP addresses
>>and whatever names you choose. You don't need to run DNS or
>>a WINS server for simple name resolution.

>
>
> Hi. Thanks for the reply. I did that and I can ping both machines
> by name, but doing a lookup fails.


I'm not sure what you mean. If you can ping by name, then lookup
is succeeding. If you mean nslookup fails, you might man nslookup.
I'm not sure it uses the hosts file.

BTW, on the linux machine, you might want to look at /etc/nsswitch.conf
and make sure it contains "files" on the hosts line.

I'm wondering if maybe I
> put the machine names in lmhosts if Samba will work?


I thought you didn't want to use Samba. I think Samba will act as
a WINS server, so you could point your Windows machine at that.

>
>
>>Use ftp (not from your browser, but from an ftp client) to
>>transfer files, initiated from the XP machine (since as I
>>recall it has a client out-of-the-box, but not a server).
>>
>>If you want to do Windows style shares, I think your best bet
>>is Samba. It isn't that hard to do.

>
>
> I'm just wondering if it will work if name lookup fails.


I'm still unclear what you mean by that. Does your browser
do the lookup successfully?

> Ping seems to be smart enough to look in the hosts
> file. I just installed mandrake 9.1 and I'm at the same
> point AFA the network goes. Although I must say
> things came up workin' pretty good out of the box.
> I just don't want to jump into Samba setup if it's
> doomed to failure. It worries me that nothing
> will lookup the local machine names(except for
> ping that is.)


What have you tried? A browser?

>
> Is anyone else using the trick of forcing dynamic ip
> assigment to known values and putting that ip info
> in the hosts files? (That's how I got ping to work)


Put 'em behind a router with NAT and use static local addresses
if you've only got two machines. You probably need a router, anyway.

>
> Thanks for any info.
>



--
The e-mail address in our reply-to line is reversed in an attempt to
minimize spam. Our true address is of the form che...@prodigy.net.
 
Reply With Quote
 
Michael W. Cocke
Guest
Posts: n/a

 
      06-09-2004, 12:49 AM
On Mon, 07 Jun 2004 19:29:54 -0400, (E-Mail Removed) wrote:

>On Mon, 07 Jun 2004 21:37:07 GMT, CJT <(E-Mail Removed)> wrote:
>
>>If you've only got a couple of machines, just put them in the
>>"hosts" files on each machine with their local IP addresses
>>and whatever names you choose. You don't need to run DNS or
>>a WINS server for simple name resolution.

>
>Hi. Thanks for the reply. I did that and I can ping both machines
>by name, but doing a lookup fails. I'm wondering if maybe I
>put the machine names in lmhosts if Samba will work?


Exactly - lmhosts is the hosts file that samba uses.

>
>>Use ftp (not from your browser, but from an ftp client) to
>>transfer files, initiated from the XP machine (since as I
>>recall it has a client out-of-the-box, but not a server).
>>
>>If you want to do Windows style shares, I think your best bet
>>is Samba. It isn't that hard to do.

>
>I'm just wondering if it will work if name lookup fails.
>Ping seems to be smart enough to look in the hosts
>file. I just installed mandrake 9.1 and I'm at the same
>point AFA the network goes. Although I must say
>things came up workin' pretty good out of the box.
>I just don't want to jump into Samba setup if it's
>doomed to failure. It worries me that nothing
>will lookup the local machine names(except for
>ping that is.)
>
>Is anyone else using the trick of forcing dynamic ip
>assigment to known values and putting that ip info
>in the hosts files? (That's how I got ping to work)
>
>Thanks for any info.


It's kind of a philosophy thing and kind of a technical design
thing... there's a sharp break between samba and tcp/ip. ping uses
tcp/ip. Samba, while it rides along on top of tcp/ip, is NOT directly
connected.

There are several ways to actually connect it up, but to be honest,
it's more of a pain than it's worth for small networks.

However, look into swat and webmin for simpler configuration options.

Mike-


--
If you're not confused, you're not trying hard enough.
--
Please note - Due to the intense volume of spam, we have installed
site-wide spam filters at catherders.com. If email from you bounces,
try non-HTML, non-encoded, non-attachments,


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
kung__fusion@hotmail.com
Guest
Posts: n/a

 
      06-09-2004, 07:03 PM
On Tue, 08 Jun 2004 20:49:06 -0400, Michael W. Cocke
<(E-Mail Removed)> wrote:

>There are several ways to actually connect it up, but to be honest,
>it's more of a pain than it's worth for small networks.


Yeah, I guess for now it's not worth the hassle since I might
be swapping the machine out. I'm almost there(or it least
it seems like it.) I can browse with Konqueror and sometimes
it will show me the files in the XP share, but it won't copy a byte.

I did find a nice article how to set up PureFTP. Step by step
how to build, install, and set up accounts etc.. That seems to work
well enough for what I need right now. Only pain is after uploading
from the XP side I have to chown the files and copy 'em as
root etc.. but at least it works.

Thanks for the suggestions everyone.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LAN with DHCP in a Linksys router, can't ping local machines Al Schapira Linux Networking 2 07-30-2007 07:40 AM
Linksys Wireless router, DHCP, DNS question Chang Linux Networking 0 03-07-2006 03:05 PM
Why is DHCP table empty on Linksys router Al C. Linux Networking 5 08-27-2004 02:50 PM
Linksys Wireless-B Router and DHCP Computer DavidNoack Wireless Internet 3 12-19-2003 01:20 PM
Linksys Wireless-B Router and DHCP DavidNoack Windows Networking 1 12-18-2003 06:08 AM



1 2 3 4 5 6 7 8 9 10 11