Welcome, Guest. Please login or register.

Author Topic: Networking 2  (Read 1619 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Networking 2
« on: May 03, 2006, 09:04:09 PM »
smbfs is for you. Just remember to give it enough stack (I'd say 32k is enough)
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Networking 2
« Reply #1 on: May 03, 2006, 09:46:03 PM »
You have least trouble if the server has a static IP address. The client side (miggy in this case) doesn't need to have static IP address.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Networking 2
« Reply #2 on: May 03, 2006, 09:53:21 PM »
@amije
Quote
i don't think that has to do with the ip but with the name of the pc. you need to set it up in a way that it's looking for the ''Full computer name''.
right click my computer/properties/computer name

And how exactly does smbfs find out about this name?

You'd need some sort of dynamic name resolving (local nameserver), or dynamically generated hosts file for this. As I said, just using static IP for the server is much easier.

Anyway, here is what I use in my lan:
Code: [Select]
run <>nil: l:smbfs CASE DOMAIN=DEBIAN USER=piru PASSWORD=yeahright QUIET VOLUME=peg1: CACHE=1024 SERVICE=//peg1/all

in hosts file I have:
Code: [Select]
10.0.0.2           peg1.home    peg1