|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
6.3 on X220: iwn0 lan but no WAN
I'm new to OpenBSD but have been running 6.2 since it's release on a Thinkpad T420s. Last night I installed 6.3 on a spare X220 from USB flash. Using the same ifconfig command to bring up iwn0 on my T420s, I can see machines on my LAN but can't access websites using Firefox or Chromium.
Code:
x220# ifconfig iwn0 nwid none wpakey [password] Chromium: DNS_PROBE_FINISHED_NO_INTERNET iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 8c:70:5a:72:a2:2c index 2 priority 4 llprio 3 groups: wlan media: IEEE802.11 autoselect (HT-MCS0 mode 11n) status: active ieee80211: nwid none chan 9 bssid d4:6e:0e:f0:a6:c2 -46dBm wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp inet 192.168.1.22 netmask 0xffffff00 broadcast 192.168.1.255 x220# cat /etc/resolv.conf # Generated by em0 dhclient search local nameserver 192.168.1.1 lookup file bind Last edited by ocicat; 13th June 2018 at 11:44 PM. Reason: Please use [code] & [/code] tags when posting command output. |
|
|||
The SSID for the AP is none. The T420s has no problems connecting to it. I'm using the command to bring up iwn0 from the T420s, verbatim, on the X220.
|
|
|||
Quote:
|
|
|||
|
|
||||
Quote:
Your provisioning of the em0 NIC was via dhclient(8). How are you assigning the 192.168.1.22 address to the iwn0 NIC? Last edited by jggimi; 13th June 2018 at 04:57 PM. Reason: typos |
|
|||
Quote:
Like I said, this is a fresh install with no modifications. Was trying to pkg_add software and though I had the wrong package mirror in /etc/installurl. I had done the install with the CAT cable connected so as to expedite the iwn0 firmware update. Bringing down the iwn0 interface and then connecting CAT cable and bringing up em0, internet is great. |
|
||||
Hi and welcome Nick.
I also thought that was a mistake Did you check your router ? On my ISP router, first time I connect by WiFi, I need to press a button on the router that allows new connections. No WiFi limitations on your router ? i.e. MAC or IP address allowed/forbidden...
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD |
|
|||
Quote:
|
|
||||
Returning to your initial problem report and your symptoms:
Quote:
Use ping(8), and see if you can reach a well-known IP address on the Internet, such as Google's domain name service at IP address 8.8.8.8, and see if you get responses. Success may look like this: Code:
$ ping -c 4 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=0 ttl=57 time=15.257 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=14.632 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=14.423 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=15.309 ms --- 8.8.8.8 ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 14.423/14.905/15.309/0.385 ms $ Code:
$ ping -c 4 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes --- 8.8.8.8 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss $ Here's an example of my default route on my x220 -- it is through the router at 10.0.1.1 connected through my vlan2 NIC: Code:
$ route -n show -inet Routing tables Internet: Destination Gateway Flags Refs Use Mtu Prio Iface default 10.0.1.1 UGS 29 13620 - 8 vlan2 . . . Last edited by jggimi; 14th June 2018 at 01:46 AM. Reason: one typo |
|
|||
Sorry for the delay in a response. I think I need to replace the SSD in this X220 Thinkpad. Previous to the 6.3 install, 6.2 would kernel panic at times. Previous to 6.2, Debian started to behave slightly erratically with wicd and wifi. I attributed that to systemd.
I'll install 6.3 and post an update. Though I'll have to consider some kind of hardware failure as well. My T420s has been a delight t with 6.2 as my fist OpenBSD rinstall, but the LCD is abysmal. Thank you for the replies. I've ditched Linux and have been using OpenBSD for all my daily computing tasks since the release of 6.2 with nary a complaint. Last edited by Nikolaos; 29th June 2018 at 01:09 AM. Reason: spelling |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Suddenly no sound (Thinkpad x220 running -current) | bceverly | OpenBSD General | 3 | 14th July 2015 05:41 PM |
Thinkpad x220 resume not locking screen | bceverly | OpenBSD General | 5 | 26th May 2015 05:21 PM |
iwn0: fatal firmware error | tehsean | OpenBSD General | 7 | 5th October 2010 03:10 PM |
iwn0 not working | gosha | OpenBSD General | 5 | 14th July 2009 01:46 PM |