home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   LINUX      Torvalds farts & fans know what he ate      8,232 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 6,009 of 8,232   
   andrew clarke to Tony Langdon   
   Static IP on Debian 9 (Stretch)   
   29 May 19 21:39:08   
   
   REPLY: 851.fido-linux@3:633/410 214f9df9   
   MSGID: 3:633/267 5cee70ad   
   CHRS: LATIN-1 2   
   TZUTC: 1000   
   TID: hpt/fbsd 1.9.0-cur 2018-12-08   
   26 May 19 20:04, you wrote to all:   
      
    TL> I have a Debian 9 netbook here.  Because I have an unusual setup here, I   
    TL> need to use manual IP address configuration.  I used the default network   
    TL> manager to setup the static IPv4 and IPv6 addresses on the wifi   
    TL> interface.  When I start the system, all works fine, and the correct IPs   
    TL> and routing information as I setup via the GUI are in place.   
      
    TL> However, when there's a network upset (most probably due to the router   
    TL> rebooting, or some other wifi disturbance), the static IPs are gone and   
    TL> are replaced by a DHCP assigned IPv4 address.  This causes a number of   
    TL> issues, breaking connectivity with the BBS that is running on the   
    TL> system.   
      
    TL> In the good old days, I'd have done a total manual configuration, and   
    TL> this would have stuck, but I decided to use the tools provided for 2   
    TL> reasons:   
      
    TL> 1.  To work with the new ways of doing things, rather than figting the   
    TL> system.   
      
    TL> 2.  To simplify the configuration of the wifi (i.e. not having to mess   
    TL> around with wpa-supplicant directly).   
      
    TL> Anyone seen this behaviour?  And better still, anyone have a solution?   
      
   Have you considered assigning the netbook a static IP address using DHCP?   
      
   I believe most modern routers support this, though I prefer to disable my   
   router's DHCP server and run my own dnsmasq service on a separate machine.   
      
   dnsmasq has some useful options in dnsmasq.conf:   
      
   # Always give the host with ethernet address 11:22:33:44:55:66   
   # the name fred and IP address 192.168.0.60 and lease time 45 minutes   
   #dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m   
      
   # Give a host with ethernet address 11:22:33:44:55:66 or   
   # 12:34:56:78:90:12 the IP address 192.168.0.60. Dnsmasq will assume   
   # that these two ethernet interfaces will never be in use at the same   
   # time, and give the IP address to the second, even if it is already   
   # in use by the first. Useful for laptops with wired and wireless   
   # addresses.   
   #dhcp-host=11:22:33:44:55:66,12:34:56:78:90:12,192.168.0.60   
      
   # Give the machine which says its name is "bert" IP address   
   # 192.168.0.70 and an infinite lease   
   #dhcp-host=bert,192.168.0.70,infinite   
      
   --- GoldED+/BSD 1.1.5-b20180707   
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)   
   SEEN-BY: 1/123 15/2 226/17 229/275 354 426 452 616 1014 240/5832 249/206   
   SEEN-BY: 249/317 400 280/464 292/854 317/3 322/757 342/200 393/68   
   SEEN-BY: 633/0 267 280 281 384 410 412 509 640/1384 712/848 3828/7   
   PATH: 633/267 280 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca