You are not logged in.

#1 2012-08-26 12:19:46

niccoboss
Member
Registered: 2012-08-26
Posts: 3

Hostname not found by other PC

I have set up a little home server with arch linux, running samba, lighttpd, etc.
The problem is, when i get a ip address with dhcpcd, the router recognizes the hostname, and other pc's can use the hostname to access the shares, but if i set a static ip, the router doesn't know the hostname, and the other pc's have to use the ip adress to communicate with the server. is it possible to 'send' the hostname to the router (which is a dns and wins server too), so the other pc's can use the hostname to communicate? using dhcp is no option, because port forwarding only works when the target has a fixed ip.

Offline

#2 2012-08-26 14:10:02

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Hostname not found by other PC

Most routers allow assigning a fixed ip to machines with dhcp, have you checked your router settings for that? Also through upnp your router should be able to forward/NAT packages to your computer even when it's using a dynamic ip address.


ᶘ ᵒᴥᵒᶅ

Offline

#3 2012-08-27 16:58:35

niccoboss
Member
Registered: 2012-08-26
Posts: 3

Re: Hostname not found by other PC

Forwarding to a dynamic ip isn't possible, it must be fixed, and providing a static lease to the machine also "deletes" the hostname.

Offline

Board footer

Powered by FluxBB