Reply
 
Thread Tools Display Modes
  #1  
Old 01-02-2013, 12:44 PM
littlefox littlefox is offline
Junior Member
 
Join Date: Jan 2013
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default wireless issue with PC-BSD 9.1 x86
Hello,
I'm a FreeBSD newbie. I'm running Ubuntu, CentOS and now PC-BSD as well.
I haven't any wi-fi connection issue with Ubuntu/Centos but once in BSD the following happen:
Interface seems to work properly as it gets configured by the DHCP but ping to gateway 192.168.1.1 fails, thus I cannot surf the internet because won't get out.


-- ifconfig result
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether **************
inet6 fe80::216:e3ff:fea7:89ee%wlan0 prefixlen 64 scopeid 0x8
inet 192.168.1.108 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid "HTC Portable Hotspot" channel 1 (2412 MHz 11g) bssid 90:21:55:7d:29:db
regdomain ETSI country IT indoor ecm authmode OPEN privacy OFF
txpower 30 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL

-- pciconf result
ath0@pci0:9:4:0: class=0x020000 card=0x7094144f chip=0x001a168c rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
device = 'AR2413 802.11bg NIC'
class = network
subclass = ethernet

-- dmesg | grep -i ath
ath0: <Atheros 2413> mem 0xc0110000-0xc011ffff irq 22 at device 4.0 on pci9
ath0: AR2413 mac 7.8 RF2413 phy 4.5


Any idea plz?
thx
Reply With Quote
  #2  
Old 01-02-2013, 02:18 PM
thnewguy thnewguy is offline
Senior Member
 
Join Date: May 2010
Posts: 814
Thanks: 4
Thanked 57 Times in 46 Posts
Default
What do you mean it won't get out? Can you ping IP addresses outside of your local network? What happens if you run

ping -c 4 google.com
Reply With Quote
  #3  
Old 01-03-2013, 12:12 PM
littlefox littlefox is offline
Junior Member
 
Join Date: Jan 2013
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Question wireless issue with PC-BSD 9.1 x86
I cannot ping addresses outside, this is the issue.

ping -c 4 google.com

//result
ping: cannot resolve google.com: Host name lookup failure


wifi gets successfully configured by DHCP as already posted and Hotspot (192.168.1.1) works fine cause I ping outside/surf when either in Ubuntu or CentOS

Last edited by littlefox; 01-03-2013 at 12:15 PM. Reason: Adding text
Reply With Quote
  #4  
Old 01-03-2013, 12:17 PM
littlefox littlefox is offline
Junior Member
 
Join Date: Jan 2013
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
One more clue:
when pinging directly an IP address such as:

ping 173.194.44.63

//result
ping: sendto: Device busy
Reply With Quote
  #5  
Old 01-03-2013, 03:56 PM
nemysis nemysis is offline
Senior Member
 
Join Date: Sep 2011
Posts: 219
Thanks: 5
Thanked 15 Times in 12 Posts
Default
What have you in

/etc/resolv.conf

and in for Networks Settings

/etc/rc.conf
Reply With Quote
  #6  
Old 01-03-2013, 03:57 PM
littlefox littlefox is offline
Junior Member
 
Join Date: Jan 2013
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Question More details
// ifconfig ath0 wlan0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether **************
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IP V6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ************
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
laggproto failover lagghash l2,l3,l4
laggport: wlan0 flags=5<MASTER,ACTIVE>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ************
inet6 fe80::216:e3ff:fea7:89ee%wlan0 prefixlen 64 scopeid 0x8
inet 192.168.1.108 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid "HTC Portable Hotspot" channel 6 (2437 MHz 11g) bssid 90:21:55:7d:29:db
regdomain ETSI country IT indoor ecm authmode OPEN privacy OFF
txpower 30 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL


//netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.1 UGS 0 0 wlan0
127.0.0.1 link#6 UH 0 4 lo0
192.168.1.0/24 link#8 U 0 178 wlan0
192.168.1.108 link#8 UHS 0 0 lo0

Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRS lo0
::1 link#6 UH lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
fe80::/10 ::1 UGRS lo0
fe80::%rl0/64 link#4 U rl0
fe80::216:36ff:fed0:be9e%rl0 link#4 UHS lo0
fe80::%lo0/64 link#6 U lo0
fe80::1%lo0 link#6 UHS lo0
fe80::%wlan0/64 link#8 U wlan0
fe80::216:e3ff:fea7:89ee%wlan0 link#8 UHS lo0
ff01::%rl0/32 fe80::216:36ff:fed0:be9e%rl0 U rl0
ff01::%lo0/32 ::1 U lo0
ff01::%wlan0/32 fe80::216:e3ff:fea7:89ee%wlan0 U wlan0
ff02::/16 ::1 UGRS lo0
ff02::%rl0/32 fe80::216:36ff:fed0:be9e%rl0 U rl0
ff02::%lo0/32 ::1 U lo0
ff02::%wlan0/32 fe80::216:e3ff:fea7:89ee%wlan0 U wlan0

// arp -an
? (192.168.1.108) at ************** on wlan0 permanent

// rc.conf
background_dhclient="YES"
# Enable the firewall
pf_rules="/etc/pf.conf"
pf_enable="YES"
pf_flags=""


# Enable IPV6 support
ipv6_activate_all_interfaces="YES"

# Load the following kernel modules
kld_list="libiconv libmchain msdosfs_iconv if_bwn if_bwi bwi_v3_ucode bwn_v4_ucode runfw ng_ubt cuse4bsd sem ntfs ntfs_iconv udf udf_iconv ext2
fs mmc mmcsd scd geom_uzip pefs xfs reiserfs smbfs fdescfs linsysfs iwn4965fw iwn1000fw iwn5000fw iwn5150fw iwn6000fw iwn6000g2afw iwn6000g2bfw
iwn6050fw acpi_video"


ntpd_enable="YES"
ntpd_sync_on_start="YES"
# Auto-Enabled NICs from pc-sysinstall
ifconfig_rl0="DHCP"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP country it"
# Auto-Enabled NICs from pc-sysinstall
ifconfig_rl0_ipv6="inet6 accept_rtadv"
hostname="pcbsd-3634"
ifconfig_ath0="`ifconfig usbus0 ether`"
ifconfig_ath0="ether ${ifconfig_ath0##*ether }"
ifconfig_usbus0="UP"
cloned_interfaces="lagg0"
Reply With Quote
  #7  
Old 01-03-2013, 04:16 PM
littlefox littlefox is offline
Junior Member
 
Join Date: Jan 2013
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
// cat /etc/resolv.conf

# Generated by resolvconf
nameserver 192.168.1.1
Reply With Quote
  #8  
Old 01-03-2013, 05:57 PM
littlefox littlefox is offline
Junior Member
 
Join Date: Jan 2013
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
// killed dhclient and run: dhclient -d wlan0

DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.108 -- renewal in 21600 seconds.
Reply With Quote
  #9  
Old 01-04-2013, 02:43 AM
littlefox littlefox is offline
Junior Member
 
Join Date: Jan 2013
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Jan 4 03:16:37 pcbsd-3634 sudo: francesco : TTY=pts/0 ; PWD=/usr/home/francesco ; USER=root ; COMMAND=/sbin/dhclient -d wlan0
Jan 4 03:16:37 pcbsd-3634 dhclient: New IP Address (wlan0): 192.168.1.108
Jan 4 03:16:37 pcbsd-3634 dhclient: New Subnet Mask (wlan0): 255.255.255.0
Jan 4 03:16:37 pcbsd-3634 dhclient: New Broadcast Address (wlan0): 192.168.1.255
Jan 4 03:16:37 pcbsd-3634 dhclient: New Routers (wlan0): 192.168.1.1
Jan 4 03:16:54 pcbsd-3634 ntpd_initres[2262]: host name not found: 0.freebsd.pool.ntp.org
Jan 4 03:16:54 pcbsd-3634 ntpd_initres[2262]: host name not found: 1.freebsd.pool.ntp.org
Jan 4 03:16:54 pcbsd-3634 ntpd_initres[2262]: host name not found: 2.freebsd.pool.ntp.org
Reply With Quote
  #10  
Old 01-04-2013, 02:44 AM
littlefox littlefox is offline
Junior Member
 
Join Date: Jan 2013
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default
// ping 192.168.1.1
ping: sendto: No route to host

// ping -c 4 google.com
ping: cannot resolve google.com: Host name lookup failure

Last edited by littlefox; 01-04-2013 at 07:07 AM. Reason: To correct
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:16 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.