Hello, I am having problem connecting to internet in my openbsd desktop. During installation I was unable to connect to my mobile hotspot (don't have wifi). I didn't pay much attention to it and continued to installation. After installation I went to install firmware for my wifi card (cheap wifi dongle using mtw firmware) using android usb tethring. After doing a fw_update, I tried to connect to mobile hotspot using ifconfig utility as stated in faq I did ifconfig mtw0 nwid xyz wpakey xyz and ran the command. After that I did ifconfig mtw0 inet autoconf. I tried to ping openbsd.org but it din't worked. Here are the outputs of dmesg, netstat -rn and ifconfig. Any help will be appreciated.
########################## Ifconfig output ########################################## 0: flags=2008049<UP,LOOPBACK,RUNNING,MULTICAST,LRO> mtu 32768 index 2 priority 0 llprio 3 groups: lo inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 enc0: flags=0<> index 1 priority 0 llprio 3 groups: enc status: active mtw0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500 lladdr 00:e0:2d:4c:73:7f index 3 priority 4 llprio 3 groups: wlan media: IEEE802.11 autoselect (DS1 mode 11g) status: active ieee80211: join net chan 1 bssid ea:ed:fb:e9:27:74 -37dBm wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136 index 4 priority 0 llprio 3 groups: pflog ################################ Netstat -rn ########################################## Internet: Destination Gateway Flags Refs Use Mtu Prio Iface 224/4 127.0.0.1 URS 0 0 32768 8 lo0 127/8 127.0.0.1 UGRS 0 0 32768 8 lo0 127.0.0.1 127.0.0.1 UHhl 1 10 32768 1 lo0 Internet6: Destination Gateway Flags Refs Use Mtu Prio Iface ::/96 ::1 UGRS 0 0 32768 8 lo0 ::1 ::1 UHhl 10 28 32768 1 lo0 ::ffff:0.0.0.0/96 ::1 UGRS 0 0 32768 8 lo0 2002::/24 ::1 UGRS 0 0 32768 8 lo0 2002:7f00::/24 ::1 UGRS 0 0 32768 8 lo0 2002:e000::/20 ::1 UGRS 0 0 32768 8 lo0 2002:ff00::/24 ::1 UGRS 0 0 32768 8 lo0 fe80::/10 ::1 UGRS 0 0 32768 8 lo0 fec0::/10 ::1 UGRS 0 0 32768 8 lo0 fe80::1%lo0 fe80::1%lo0 UHl 0 0 32768 1 lo0 ff01::/16 ::1 UGRS 0 0 32768 8 lo0 ff01::%lo0/32 fe80::1%lo0 Um 0 1 32768 4 lo0 ff02::/16 ::1 UGRS 0 0 32768 8 lo0 ff02::%lo0/32 fe80::1%lo0 Um 0 1 32768 4 lo0 ############################# /etc/hostname.mtw0 ############################ join net wpakey d2b9cs4s joint jio-net wpakey 2089dhsdf9h inet autoconf ######################### dmesg | grep mtw0 ################################ mtw0 at uhub0 port 3 configuration 1 interface 0 "??????????????????????????????MediaTek????????802.11 n WLAN 802.11 n WLAN" rev 2.01/0.00 addr 2 mtw0: MAC/BBP MT7601 (rev 0x0500), RF MT7601 (MIMO 1T1R), address 00:e0:2d:4c:73:7f Thanks