DHCP overriding my STATIC IP on wireless using Frisbee
Posted: Wed 04 Dec 2013, 16:56
I'm sure this is covered somewhere, but I just cannot figure it out - and I'm rather LINUX savvy!! LOL I set up PUPPY as a hard drive installation and used Frisbee (the only one that worked with my ancient HW!) to set up my wireless NIC. I also tried the other 2 network setup GUIs, I think... and they might have conflicting stuff (mentioned that just in case).
I do successfully set the static IP (192.168.1.76). The problem is on REBOOT. I see in messages that it first sets the static IP, and then somewhere/somehow DHCP comes in and requests another IP from my router and resets it!! How do I make that stop, please? Here's a snippet of the log:
and this only happens on reboots...
and I prefer to fix it from the command line. The GUI (little task bar icon) "fixes" it but it doesn't seem to stay persistant on reboots... or actualy it DOES, but then DHCP goes stomping on it!
(I also have a little NFS problem... but I'm betting that'll clear up once this gets fixed. My pictures for this PictureFrame are stored on a NAS, which I NFS mount. I'll open a new thread if I continue having NFS issues.)
Thanks in advance! Let me know if I need to provide any config files, i.e. frisbee.conf, wpa... etc... I know it's gotta be simple and I'm just not seeing it!!! Typical. Also let me know if I can get rid of any stray configs from the other NIC tools.
I do successfully set the static IP (192.168.1.76). The problem is on REBOOT. I see in messages that it first sets the static IP, and then somewhere/somehow DHCP comes in and requests another IP from my router and resets it!! How do I make that stop, please? Here's a snippet of the log:
Code: Select all
Dec 2 19:49:46 PictureFrame daemon.debug dhcpcd[3111]: eth1: using hwaddr 00:12:f0:1c:dd:d2
Dec 2 19:49:46 PictureFrame daemon.debug dhcpcd[3111]: eth1: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
Dec 2 19:49:46 PictureFrame daemon.debug dhcpcd[3111]: eth1: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason NOCARRIER
Dec 2 19:49:46 PictureFrame user.debug kernel: [ 30.494689] lib80211_crypt: registered algorithm 'TKIP'
Dec 2 19:49:46 PictureFrame auth.info sshd[3137]: Server listening on 0.0.0.0 port 22.
Dec 2 19:49:49 PictureFrame daemon.info dhcpcd[3111]: eth1: carrier acquired
Dec 2 19:49:49 PictureFrame daemon.debug dhcpcd[3111]: eth1: using hwaddr 00:12:f0:1c:dd:d2
Dec 2 19:49:49 PictureFrame daemon.debug dhcpcd[3111]: eth1: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
Dec 2 19:49:49 PictureFrame daemon.info dhcpcd[3111]: eth1: using static address 192.168.1.76
Dec 2 19:49:49 PictureFrame daemon.debug dhcpcd[3111]: eth1: adding IP address 192.168.1.76/24
Dec 2 19:49:49 PictureFrame daemon.debug dhcpcd[3111]: eth1: adding route to 192.168.1.0/24
Dec 2 19:49:49 PictureFrame daemon.debug dhcpcd[3111]: eth1: adding default route via 192.168.1.1
Dec 2 19:49:49 PictureFrame daemon.debug dhcpcd[3111]: eth1: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason STATIC
Dec 2 19:49:51 PictureFrame daemon.info dhcpcd[3111]: eth1: broadcasting for a lease
Dec 2 19:49:51 PictureFrame daemon.debug dhcpcd[3111]: eth1: sending DISCOVER (xid 0x4e5a85d4), next in 3.27 seconds
Dec 2 19:49:53 PictureFrame daemon.info dhcpcd[3111]: eth1: offered 192.168.1.120 from 192.168.1.1
Dec 2 19:49:53 PictureFrame daemon.debug dhcpcd[3111]: eth1: sending REQUEST (xid 0x4e5a85d4), next in 3.91 seconds
Dec 2 19:49:53 PictureFrame daemon.info dhcpcd[3111]: eth1: acknowledged 192.168.1.120 from 192.168.1.1
Dec 2 19:49:53 PictureFrame daemon.info dhcpcd[3111]: eth1: using static address 192.168.1.120
Dec 2 19:49:53 PictureFrame daemon.debug dhcpcd[3111]: eth1: adding IP address 192.168.1.120/24
Dec 2 19:49:53 PictureFrame daemon.debug dhcpcd[3111]: eth1: deleting IP address 192.168.1.76/24
Dec 2 19:49:53 PictureFrame daemon.debug dhcpcd[3111]: eth1: changing route to 192.168.1.0/24
Dec 2 19:49:53 PictureFrame daemon.debug dhcpcd[3111]: eth1: changing default route via 192.168.1.1
Dec 2 19:49:53 PictureFrame daemon.debug dhcpcd[3111]: eth1: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason STATIC
Dec 2 19:50:00 PictureFrame daemon.debug dhcpcd[3111]: eth1: removing route to 192.168.1.0/24
Dec 2 19:50:00 PictureFrame daemon.debug dhcpcd[3111]: eth1: removing default route via 192.168.1.1
and I prefer to fix it from the command line. The GUI (little task bar icon) "fixes" it but it doesn't seem to stay persistant on reboots... or actualy it DOES, but then DHCP goes stomping on it!
(I also have a little NFS problem... but I'm betting that'll clear up once this gets fixed. My pictures for this PictureFrame are stored on a NAS, which I NFS mount. I'll open a new thread if I continue having NFS issues.)
Thanks in advance! Let me know if I need to provide any config files, i.e. frisbee.conf, wpa... etc... I know it's gotta be simple and I'm just not seeing it!!! Typical. Also let me know if I can get rid of any stray configs from the other NIC tools.