Summary: | [ath] Cannot set up static ip addresses for wireless with wpa encryption | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | donaldcallen | ||||
Component: | wireless | Assignee: | freebsd-sysinstall (Nobody) <sysinstall> | ||||
Status: | Open --- | ||||||
Severity: | Affects Some People | CC: | allanjude, avos, cy | ||||
Priority: | Normal | ||||||
Version: | Unspecified | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
donaldcallen
2012-06-18 15:00:22 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-wireless Over to maintainer(s). Hi, This sounds like an installer problem. Have you created PRs for all the other installer issues that you were seeing? I use static and DHCP IPs on a variety of atheros NICs on -8, -9 and -10. I've had no problems. If you don't mind, I'll file this over to whoever looks after the installer PRs for them to look at. it may have been fixed after 9.0-RELEASE was made and thus a 9-STABLE snapshot would work better. Thanks, Adrian I just attempted to install 10.3 on a Thinkpad, having had good results with this release on a couple of desktops. I got bitten by this same problem in the installer. I need static IP addresses so I can scp, rsync, and ssh among my various machines whose addresses I list in /etc/hosts. I realize I'm not paying for this software and you don't have infinite resources, but I can't believe I'm the only one who sets up multiple machines on a LAN this way and it's been almost two years since I originally reported this bug and it has still not been fixed. (In reply to donaldcallen from comment #3) I misread the date on my original post. This bug is now almost 4 years old. +1 (RTL8188CUS, i386-20160408-r297692-bootonly snapshot); as I can see in ttyv2, it fails with: DEBUG: dialog.subr: DIALOG_SELF_INITIALIZE=[1] DEBUG: f_dialog_init: ARGV=[wlan0 WPA ] GETOPTS_STDARGS=[dD:SX] DEBUG: f_dialog_init: SECURE=[] USE_XDIALOG=[] DEBUG: f_dialog_init: dialog(1) API initialized. DEBUG: dialog.subr: Successfully loaded. ifconfig: WPA: bad value route: route has not been found route: writing to routing socket: Network is unreachable ifconfig: create: bad value (looks like it tries to pass WPA as an argument to ifconfig(8)). (In reply to Andriy Voskoboinyk from comment #5) route: route has not been found route: writing to routing socket: Network is unreachable Suggests you entered a default gateway outside of your subnet What exactly did you enter for the ip, subnet mask, and gateway? (In reply to Allan Jude from comment #6) 192.168.1.2/255.255.255.0/192.168.1.1 Created attachment 169530 [details]
Possible fix
A commit references this bug: Author: avos Date: Mon May 2 21:40:34 UTC 2016 New revision: 298946 URL: https://svnweb.freebsd.org/changeset/base/298946 Log: bsdinstall: fix static address assignment for protected wireless networks. Filter out IFCONFIG_PREFIX variable (which may contain WPA keyword) from ifconfig parameters. PR: 169199 Changes: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed. I have an old laptop with ath running 12-CURRENT. I'll try to find some time to determine if there's a problem. |