and do you have access to other resources, like samba, ftp, ssh...?
> It's strange because I'm on the same subnet on wired and wifi (192.168.0.x).
That is done an an app base. For the web pages, see the ip/mask value
/etc/httpd.conf; for samba, watch /etc/samba/smb.conf, the "hosts allow"
directive.
It is possible that the mask is not correclty setup. Can you post the relevant
lines of the config files, the 'ifconfig eth0' and "route" command output, and
the DHCP log part? "logread" or Sytem->Utilities->View Logs->System log
Apr 20 10:09:11 nas user.notice udhcpc: udhcpc environment:
Apr 20 10:09:11 nas user.notice udhcpc: router=192.168.1.254
Apr 20 10:09:11 nas user.notice udhcpc: subnet=255.255.255.0 <-------------
Apr 20 10:09:11 nas user.notice udhcpc: METHOD=dhcp
Apr 20 10:09:11 nas user.notice udhcpc: MODE=start
Apr 20 10:09:11 nas user.notice udhcpc: domain=homenet
Apr 20 10:09:11 nas user.notice udhcpc: interface=eth0
Apr 20 10:09:11 nas user.notice udhcpc: dns=192.168.1.254
Apr 20 10:09:11 nas user.notice udhcpc: IF_MTU=1500
Apr 20 10:09:11 nas user.notice udhcpc: ADDRFAM=inet
Apr 20 10:09:11 nas user.notice udhcpc: serverid=192.168.1.254
Apr 20 10:09:11 nas user.notice udhcpc: IF_CLIENT=udhcpc
Apr 20 10:09:11 nas user.notice udhcpc: PATH=/sbin:/usr/sbin:/bin:/usr/bin
Apr 20 10:09:11 nas user.notice udhcpc: ip=192.168.1.76
Apr 20 10:09:11 nas user.notice udhcpc: lease=86400
Apr 20 10:09:11 nas user.notice udhcpc: mask=24 <------------------------
Apr 20 10:09:11 nas user.notice udhcpc: IFACE=eth0
Apr 20 10:09:11 nas user.notice udhcpc: PWD=/
Apr 20 10:09:11 nas user.notice udhcpc: opt53=05
Thanks
> The only thing I can say is that in a past setup this DD-WRT router the NAS
> is plugged in was the main internet gateway in PPPoE (and had no problem
> accessing webui) and now the setup of the router is as a wifi repeater
If all Alt-Fnetwork services have the same problem, and the netwaork mask is
OK, than the problem might be the wifi repeater.
169.254.255.1
I could not find logs for httpd, but I think that dropbear also report my pc has having
169.254.255.1 IP address.
Weird! Is it me or addresses beginning by 169 are addresses computers give to themselves when they cannot get one from a dhcp server?
ok, I went it the samba logs, and it sees my pc has having the IP169.254.255.1
I could not find logs for httpd, but I think that dropbear also report my pc has having
169.254.255.1 IP address.
Weird! Is it me or addresses beginning by 169 are addresses computers give to themselves when they cannot get one from a dhcp server?
The second (mine) router IS acting as a DHCP server. That's why I'm saying it is an independant network. I don't control the first router, I can only access it because they gave me the name and password. The first router is only the source of the Internet, it does not play any further role.
Still, as the computers and NAS get their IP address from this second router, they should see each other as being on the same subnet.
I don't understand why the NAS think my computer has an IP beginning with 169
when both the router and the computer
itself know that the IP is in reality beginning with 198.168.0.1xx
Still, as the computers and NAS get their IP address from this second router, they should see each other as being on the same subnet.
I don't understand why the NAS think my computer has an IP beginning with 169He doesn't think, it just prints the IP of the originating computer :)And all applications (samba, ssh, ftp,...) are reporting the same, so the computer IP is not what you think it is.If commenting the relevant lines in smb.conf and httpd.conf makes the DNS visible to your computer, then the computer IP does not seems to be 192.x.x.xHave you run 'ifconfig' in the computer, to see its real IP? even MS-Win has 'ifconfig'
when both the router and the computeritself know that the IP is in reality beginning with 198.168.0.1xxyou mean 192.168.0.x, right? please run 'ifconfig' in the computer
Le dimanche 22 avril 2012 12:28:42 UTC-4, Joao Cardoso a écrit :Still, as the computers and NAS get their IP address from this second router, they should see each other as being on the same subnet.
I don't understand why the NAS think my computer has an IP beginning with 169He doesn't think, it just prints the IP of the originating computer :)And all applications (samba, ssh, ftp,...) are reporting the same, so the computer IP is not what you think it is.If commenting the relevant lines in smb.conf and httpd.conf makes the DNS visible to your computer, then the computer IP does not seems to be 192.x.x.xHave you run 'ifconfig' in the computer, to see its real IP? even MS-Win has 'ifconfig'
ifconfig from my MacBook Pro:
ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
lladdr 00:1b:63:ff:fe:68:f1:06
media: autoselect <full-duplex>
status: inactive
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:1c:b3:c1:56:38
inet6 fe80::21c:b3ff:fec1:5638%en1 prefixlen 64 scopeid 0x5
inet 192.168.0.106 netmask 0xffffff00 broadcast 192.168.0.255
As I said the router gave and sees my computer as 192.168.0.106 . Every other computers on my network also see and can access my computer on 192.168.0.106. I can even ping my computer from the NAS.
Maybe it's just the router that reports wrongly to the NAS the IP of my computer.
It would be interesting to see the output of 'who' and 'arp -a' from a
shell while logged into the NAS.
No doubt, its configured as 192.168.0.106. So, why do samba reports through the system log an IP of 169.254.255.1? I'm puzzled.dropbear (ssh) and ftp also report 169.254.255.1, don't they?
Do you have any other computer in your network? Can you poweroff the router, disconnect all computers, unplug the cable from the router from the main router, power on only the router, the NAS and the wifi laptop and repeat the pings, ftp, ssh, samba, etc and watch the system log? In despair one tries everything :-(
As I said the router gave and sees my computer as 192.168.0.106 . Every other computers on my network also see and can access my computer on 192.168.0.106. I can even ping my computer from the NAS.and ping the nas from the computer also works?Have you tried to ping 169.254.x.x from the NAS?
I can't imagine what is happening, the NAS network is correctly setup according to what the router DHCP server said the network is.aahhh, a Mac... could it be "bonjour" in action? No idea.
Sorry, I would like to know what's going on... and its only with wifi, when plugged it's OK. Could it be the router that creates a special network for wifi only? Can't you experiment with another wifi laptop? Even a wifi smartphone?
If you discover what the problem is I would love to know. Meanwhile you have to leave with it, as smb.conf and httpd.conf are updated whenever a DHCP lease is renewed.You could setup the nas with a fixed IP, edit smb.conf and httpd.conf and save settings...
It would be interesting to see the output of 'who' and 'arp -a' from a
shell while logged into the NAS.
And from your laptop, what does a traceroute (or tracert on Windows) to
the NAS show? And "netstat -rn"?
Le dimanche 22 avril 2012 22:53:24 UTC-4, Joao Cardoso a écrit :No doubt, its configured as 192.168.0.106. So, why do samba reports through the system log an IP of 169.254.255.1? I'm puzzled.dropbear (ssh) and ftp also report 169.254.255.1, don't they?
Dropbear yes, ftp I don't know it is not anabled.
Le lundi 23 avril 2012 08:51:42 UTC-4, Brandon Hume a écrit :I logged with ssh onto the NAS from the wifi laptop.It would be interesting to see the output of 'who' and 'arp -a' from a
shell while logged into the NAS.
# who
root pts/0 00:00 Apr 23 18:58:05 169.254.255.1
# arp -a
? (192.168.0.1) at 48:5b:39:e7:95:bd [ether] on eth0
jp-mbp (192.168.0.106) at 00:1c:b3:c1:56:38 [ether] on eth0
? (192.168.0.114) at 00:90:a9:9f:01:e1 [ether] on eth0