Re: Android phone and FreeBSD 8.1
On Tue, 28 Dec 2010, Polytropon wrote: On Tue, 28 Dec 2010 12:32:02 +0100, Fernando Apestegu?a fernando.apesteg...@gmail.com wrote: Hi all, I bought a GeeksPhone One[1]. It uses Android 2.2.1. I'm trying to get FreeBDS recognize the phone. [...] What can I do to access the phone's storage in FreeBSD? Seems to be the same issue I just had. See the mailing list archives of the last few days. In short: method (a) # true /dev/da0 # true /dev/da1 # true /dev/da2 # true /dev/da3 or method (b) # mount /dev/da0 /mnt # mount /dev/da1 /mnt # mount /dev/da2 /mnt # mount /dev/da3 /mnt will cause the proper device nodes (e. g. /dev/da0s1, /dev/da1s1, /dev/da2s1 and /dev/da3s1) corresponding to inserted media to appear. Those can then be mounted in the usual way. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org With my phone, sometimes I have to enable Disc Drive ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Android phone and FreeBSD 8.1
On Tue, 28 Dec 2010, Fernando Apestegu?a wrote: 2010/12/28 Alejandro Imass a...@p2ee.org: 2010/12/28 Fernando Apestegu?a fernando.apesteg...@gmail.com: Hi all, I bought a GeeksPhone One[1]. It uses Android 2.2.1. I'm trying to get FreeBDS recognize the phone. When I plug it to the USB port and activate the Storage option, this is what dmesg reports: It's a wild guess but if you have Gnome installed, try disabling HAL (after you are in your Gnome desktop) before you plug-in the telephone and before you press the activate usb mass storage option on the droid. No luck :S I rebooted with HAL disabled without bringing Gnome up and I still get the same error Cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Did you try Disk Drive on the phone and mount_msdosfs as root? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
I keep seeing my wlan0 interface go down.. I suspected a faulty wifi router.. i changed that out.. Ive tried using WEP and WPA. Currently using WPA. Here are the logs Im seeing.. Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter did not increase - dropping packet Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with 00:22:6b:66:bf:74 Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP Given the errors seen what would be the best debug to use?? wlandebug or tcpdump ?? I went ahead and enabled since my logs are complaining about association and authentication.. yeaguy# wlandebug -i wlan0 auth+assoc net.wlan.0.debug: 0x0 = 0xc0assoc,auth yeaguy# Any tips would be appreciated.. I have an end user continually complaining of disconects over FTP.. Thanks, justin v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
On Thu, 16 Dec 2010, Mubeesh ali wrote: can u completely not send any traffic or is this a random drop. If random there could be interference causing replay counter mismatch. This may force AP to drop the packet, the ap may de authenticate client if it sees continuous stream of such packets in a short interval and force client to drop existing sessions like ftp. Please try changing the channel. If the client and AP are both A capable please try using the A band as there are more non overlapping channels and u may be able to find a channel with low interference. On Thu, Dec 16, 2010 at 10:46 PM, Justin V. v...@yeaguy.com wrote: I keep seeing my wlan0 interface go down.. I suspected a faulty wifi router.. i changed that out.. Ive tried using WEP and WPA. Currently using WPA. Here are the logs Im seeing.. Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter did not increase - dropping packet Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with 00:22:6b:66:bf:74 Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP Given the errors seen what would be the best debug to use?? wlandebug or tcpdump ?? I went ahead and enabled since my logs are complaining about association and authentication.. yeaguy# wlandebug -i wlan0 auth+assoc net.wlan.0.debug: 0x0 = 0xc0assoc,auth yeaguy# Any tips would be appreciated.. I have an end user continually complaining of disconects over FTP.. Thanks, justin v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Best Regards, Mubeesh Ali.V.M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Mubeesh, It seems to be a random drop.. FTP will be humming along and then wlan0 will go down.. I have the router set for channel 11... i do not have these types of drops with other wifi capable devices.. ex. WIN laptop, Playstaion 3... etc... rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:1e:e5:a8:bd:5a media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:1e:e5:a8:bd:5a inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS roaming MANUAL Also yesterday, I lost complete connectivity to the router while my WIN PC was connected and browsing just fine.. I had to bounce the interface and reset the default gateway and my connection restored. I did: /etc/rc.d/netif restart /etc/rc.d/routing restart Thanks, Justin___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
On Thu, 16 Dec 2010, Mubeesh ali wrote: Hi Justin, I see 7 beacon misses on the interface which is not good the client disconnects on beacon miss...typically most ap's are configured to send a beacon every 100 ms . ..this looks similar http://madwifi-project.org/ticket/1957 thanks, Mubeesh On Thu, Dec 16, 2010 at 11:16 PM, Justin V. v...@yeaguy.com wrote: On Thu, 16 Dec 2010, Mubeesh ali wrote: can u completely not send any traffic or is this a random drop. If random there could be interference causing replay counter mismatch. This may force AP to drop the packet, the ap may de authenticate client if it sees continuous stream of such packets in a short interval and force client to drop existing sessions like ftp. Please try changing the channel. If the client and AP are both A capable please try using the A band as there are more non overlapping channels and u may be able to find a channel with low interference. On Thu, Dec 16, 2010 at 10:46 PM, Justin V. v...@yeaguy.com wrote: I keep seeing my wlan0 interface go down.. I suspected a faulty wifi router.. i changed that out.. Ive tried using WEP and WPA. Currently using WPA. Here are the logs Im seeing.. Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter did not increase - dropping packet Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with 00:22:6b:66:bf:74 Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP Given the errors seen what would be the best debug to use?? wlandebug or tcpdump ?? I went ahead and enabled since my logs are complaining about association and authentication.. yeaguy# wlandebug -i wlan0 auth+assoc net.wlan.0.debug: 0x0 = 0xc0assoc,auth yeaguy# Any tips would be appreciated.. I have an end user continually complaining of disconects over FTP.. Thanks, justin v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Best Regards, Mubeesh Ali.V.M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Mubeesh, It seems to be a random drop.. FTP will be humming along and then wlan0 will go down.. I have the router set for channel 11... i do not have these types of drops with other wifi capable devices.. ex. WIN laptop, Playstaion 3... etc... rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:1e:e5:a8:bd:5a media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:1e:e5:a8:bd:5a inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS roaming MANUAL Also yesterday, I lost complete connectivity to the router while my WIN PC was connected and browsing just fine.. I had to bounce the interface and reset the default gateway and my connection restored. I did: /etc/rc.d/netif restart /etc/rc.d/routing restart Thanks, Justin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org interesting.. do you know of a better adapter to use?? ive done a search on wlan0 and bmiss.. alot of threads regarding that issue, but all the threads show bmiss 7 ?? does that seem odd
Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
On Thu, 16 Dec 2010, Paul B Mahol wrote: On Thu, Dec 16, 2010 at 7:28 PM, Justin V. v...@yeaguy.com wrote: interesting.. do you know of a better adapter to use?? ive done a search on wlan0 and bmiss.. alot of threads regarding that issue, but all the threads show bmiss 7 ?? does that seem odd?? FYI, you can change bmiss value with ifconfig(8). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org i am going to reconfig the bmiss to 200 and see how the int handles traffic load after that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
On Thu, 16 Dec 2010 17:38:54 -0800, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 12/17/10 03:46, Justin V. wrote: On Thu, 16 Dec 2010, Mubeesh ali wrote: can u completely not send any traffic or is this a random drop. If random there could be interference causing replay counter mismatch. This may force AP to drop the packet, the ap may de authenticate client if it sees continuous stream of such packets in a short interval and force client to drop existing sessions like ftp. Please try changing the channel. If the client and AP are both A capable please try using the A band as there are more non overlapping channels and u may be able to find a channel with low interference. On Thu, Dec 16, 2010 at 10:46 PM, Justin V. v...@yeaguy.com wrote: I keep seeing my wlan0 interface go down.. I suspected a faulty wifi router.. i changed that out.. Ive tried using WEP and WPA. Currently using WPA. Here are the logs Im seeing.. Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter did not increase - dropping packet Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with 00:22:6b:66:bf:74 Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP Given the errors seen what would be the best debug to use?? wlandebug or tcpdump ?? I went ahead and enabled since my logs are complaining about association and authentication.. yeaguy# wlandebug -i wlan0 auth+assoc net.wlan.0.debug: 0x0 = 0xc0assoc,auth yeaguy# Any tips would be appreciated.. I have an end user continually complaining of disconects over FTP.. Thanks, justin v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Best Regards, Mubeesh Ali.V.M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Mubeesh, It seems to be a random drop.. FTP will be humming along and then wlan0 will go down.. I have the router set for channel 11... i do not have these types of drops with other wifi capable devices.. ex. WIN laptop, Playstaion 3... etc... rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:1e:e5:a8:bd:5a media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:1e:e5:a8:bd:5a inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS roaming MANUAL Also yesterday, I lost complete connectivity to the router while my WIN PC was connected and browsing just fine.. I had to bounce the interface and reset the default gateway and my connection restored. I did: /etc/rc.d/netif restart /etc/rc.d/routing restart Thanks, Justin What version FreeBSD are you using? The only workaround I know is kill wpa_supplicant and run again- been happening to me for ages. But 8.1 it _finally_ sorted it out :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Using Opera's revolutionary email client: http://www.opera.com/mail/ wifi is bugging out on this server. unable to serve. ___ freebsd
pls help..
,ACCEPT_RTADV pfsync0: flags=0 metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:1e:e5:a8:bd:5a media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 description: WIFI ether 00:1e:e5:a8:bd:5a inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74 country US authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS [...@yeaguy ~]$ [...@yeaguy ~]$ netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default192.168.1.1UGS 1 2208 wlan0 10.1.1.0/24link#1 U 416001em0 10.1.1.1 link#1 UHS 00lo0 127.0.0.1 link#4 UH 0 36lo0 192.168.1.0/24 link#7 U 6 7123 wlan0 192.168.1.169 link#7 UHS 00lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 link#4U lo0 fe80::1%lo0 link#4UHS lo0 ff01:4::/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 [...@yeaguy ~]$ yeaguy# ipnat -l List of active MAP/Redirect filters: map wlan0 10.1.1.0/24 - 192.168.1.169/32 portmap tcp/udp 1:6 map wlan0 10.1.1.0/24 - 192.168.1.169/32 List of active sessions: MAP 10.1.1.190 53867 - - 192.168.1.169 54939 [69.147.83.34 80] MAP 10.1.1.190 53401 - - 192.168.1.169 45879 [72.14.204.147 80] MAP 10.1.1.190 53398 - - 192.168.1.169 18541 [72.14.204.147 80] MAP 10.1.1.190 53397 - - 192.168.1.169 27460 [72.14.204.147 80] yeaguy# I am thinking of doing a fresh install to see if my issue clears.. I am beyond frustrated.. A WAN IP and router change and now I have some odd tick/hangup on the system???!!! that makes no sense.. if i put the old router in place it works fine.. I really dont want to use the old router either,, it requires a reboot daily.. it flakey... I checked the router for ACLs and anything that might cause conflict but I am not seeing anything.. I really cant see how its the new router.. my WIN LAPTOP when connecting to the router works flawlessly... The only odd thing I do see in regards to the router and FreeBSD box is the WEP attributes: ifconfig shows: wepkey 1:40-bit // Router shows: WEP Encryption: 64 bits 10 hex digits.. is that an issue?? Router is a Linksys WRT54G2... My router logs show in and out traffic from the FreeBSD box.. so this is why Im thinking its the FreeBSD box... Can i do a system wide grep on all files to see if i find the OLD WAN IP hardcoded somewhere??? I have completely disable ipfw as well: yeaguy# ipfw -q flush yeaguy# ipfw show 65535 4145 3401628 allow ip from any to any If anyone can assist Id be very greatful.. Thanks Justin V. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pls help..
On Tue, 14 Dec 2010, Mubeesh ali wrote: try traceroute to check how packets are going out. do u have any proxy hardcoded in browser in bsd ? On Tue, Dec 14, 2010 at 3:24 PM, Justin V. v...@yeaguy.com wrote: Hi, I am having a very difficult time understanding what is going on with this FreeBSD machine.. I was having inet trouble so i put in a new router on my network (home network).. I have a FreeBSD machine on my network: FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 I have windows machines on my network.. One of my windows machines is my laptop and I connect directly to the router via WIFI without any trouble at all... I can browse any website without complaint. My FreeBSD system connects to my WIFI router just fine as well.. I am seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) Pulling up Google.com can take up to 30s.. My Other windows machine is using the FreeBSD as its gateway, I am running ipnat. This pc suffers from the same issues as the FreeBSD box.. I configured the new router with the same ssid and wepkey.. so minimal adjustments would have to be made for other WIFI users in the house.. Everyone is fine except me... My server is fine as far as my Website is concerned.. I changed my DNS with my host to point to my new WAN IP.. I can pull my page fine.. I can ssh to my server fine from my phone, phones ip is from my Phones netowrk.. this is not being done via WIFI on my phone.. So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like it used to.. 30s to 40s to pull up google is just unacceptable, when I have my laptop sitting here using the same WIFI router pulling it up in about 3ms... Another odd symptom I am seeing is that when i issue the command 'alpine' to check my email, it hangs for a good 30s So in my mind, Im thinking, what changed?? My router and my Public IP.. thats it.. its almost like I have my OLD WAN ip hardcoded somewhere causing a conflict.. I cannot find it hardcoded anywhere.. Heres an example of what im seeing: [...@yeaguy ~]$ ping google.com PING google.com (72.14.204.147): 56 data bytes 64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms 64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms 64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms 64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms ^C --- google.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms [...@yeaguy ~]$ telnet google.com 80 Trying 72.14.204.147... Connected to google.com. it hung here for alot longer than 85ms Escape character is '^]'. ^] telnet q Connection closed. [...@yeaguy ~]$ I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN PC that is using the FreeBSD as the gateway, but I can telnet to it on tcp port 80 just fine.. [...@yeaguy ~]$ telnet nytimes.com 80 Trying 199.239.136.200... Connected to nytimes.com. Escape character is '^]'. get HTMLHEADTITLEBad request/TITLE/HEAD BODYH1Bad request/H1 Your browser sent a query this server could not understand. /BODY/HTMLConnection closed by foreign host. [...@yeaguy ~]$ Heres some config files: [...@yeaguy ~]$ cat /etc/rc.conf wlans_rum0=wlan0 gateway_enable=YES ifconfig_wlan0=inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet wepmode on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI defaultrouter=192.168.1.1 apache22_enable=YES hald_enable=YES dbus_enable=YES samba_enable=YES nmbd_enable=YES smbd_enable=YES winbindd_enable=YES hostname=yeaguy.com ifconfig_em0=inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 description LAN inetd_enable=YES linux_enable=YES sshd_enable=YES usbd_enable=YES postfix_enable=YES sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO firewall_enable=YES firewall_script=/etc/fire ipnat_enable=YES ipnat_program=/sbin/ipnat ipnat_rules=/etc/ipnat.rules ipnat_flags= #ipmon_enable=YES #ipmon_program=/sbin/ipmon #ipmon_flags=-Ds named_enable=YES ntpdate_enable=YES ntpdate_program=ntpdate ntpdate_flags=-b 0.north-america.pool.ntp.org mysql_enable=YES clamav_clamd_enable=YES clamav_freshclam_enable=YES amavisd_enable=YES #amavisd_ram=512m pf_enable=YES pf_rules=/etc/pf.conf pflog_enable=YES saver=daemon [...@yeaguy ~]$ ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 description: LAN options=219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC ether 00:16:76:bf:17:29 inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 pflog0: flags=141UP,RUNNING,PROMISC metric 0 mtu 33200 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options
Re: pls help..
On Tue, 14 Dec 2010, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue Dec 14 05:45:55 2010 Date: Tue, 14 Dec 2010 01:54:26 -0800 (PST) From: Justin V. v...@yeaguy.com To: freebsd-questions@freebsd.org Subject: pls help.. Hi, I am having a very difficult time understanding what is going on with this FreeBSD machine.. I was having inet trouble so i put in a new router on my network (home network).. I have a FreeBSD machine on my network: FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 I have windows machines on my network.. One of my windows machines is my laptop and I connect directly to the router via WIFI without any trouble at all... I can browse any website without complaint. My FreeBSD system connects to my WIFI router just fine as well.. I am seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) Pulling up Google.com can take up to 30s.. Without reading any further, this simply =reeks= of being a DNS problem. (99.98792+% of all 30+ seconds to something over the net problems are timeout issue. :) I suspect: a) the new router is not using the same 'local network' adddress as the old one was, This is not a total show stopper, because everyting 'local' is using DHCP to get both the local machine address _and_ the router address. b) you have a DNS server address hard-coded in the /etc/resolv.conf file. (the old router and new router are providing DNS proxy services on *different* addresses, and wyat you have hard-coded is the -old- address) c) your FBSD machine is trying to query the hard-coded DNS server address _first_, and when it gets no response, it *eventually* (ie. after 30 seconds) tries the 'second' DNS server address it has, which is the one learned by DHCP -- that works, the name resolves, and the page loads. On a WORKING windows box click Start-Run, and type 'ipconfig/all' in the box, to see what it is using for a DNS server. Check '/etc/resolv.conf' on your FreeBSD box, and see if it lists a *different* address on a 'namemserver' line. Heres what my resolv.conf is, ive changed it to use the router and itself, no change in status: [...@yeaguy ~]$ cat /etc/resolv.conf #domain yeaguy.com #nameserver 10.1.1.1 nameserver 192.168.1.1 [...@yeaguy ~]$ Im currently set to use the router.. The WIN pc is using: 209.18.47.61 and 209.18.47.62.. hmm.. i will try those.. Still hangs and times out.. but able to resolve and ping google.com just fine g... yeaguy# nslookup nytimes.com Server: 209.18.47.61 Address:209.18.47.61#53 Non-authoritative answer: Name: nytimes.com Address: 199.239.136.200 yeaguy# ipnat -l List of active MAP/Redirect filters: map wlan0 10.1.1.0/24 - 192.168.1.169/32 portmap tcp/udp 1:6 map wlan0 10.1.1.0/24 - 192.168.1.169/32 List of active sessions: MAP 10.1.1.190 53401 - - 192.168.1.169 45879 [72.14.204.147 80] MAP 10.1.1.190 53398 - - 192.168.1.169 18541 [72.14.204.147 80] MAP 10.1.1.190 53397 - - 192.168.1.169 27460 [72.14.204.147 80] yeaguy# cat /etc/resolv.conf #domain yeaguy.com #nameserver 10.1.1.1 #nameserver 192.168.1.1 nameserver 209.18.47.61 nameserver 209.18.47.62 yeaguy# yeaguy# telnet nytimes.com 80 Trying 199.239.136.200... Connected to nytimes.com. Escape character is '^]'. I got google to come up after refreshing the page, nytimes still does not come up no matter what, can telnet it just fine on port 80 tho... this doesnt make sense. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pls help..
On Tue, 14 Dec 2010, Justin V. wrote: On Tue, 14 Dec 2010, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue Dec 14 05:45:55 2010 Date: Tue, 14 Dec 2010 01:54:26 -0800 (PST) From: Justin V. v...@yeaguy.com To: freebsd-questions@freebsd.org Subject: pls help.. Hi, I am having a very difficult time understanding what is going on with this FreeBSD machine.. I was having inet trouble so i put in a new router on my network (home network).. I have a FreeBSD machine on my network: FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 I have windows machines on my network.. One of my windows machines is my laptop and I connect directly to the router via WIFI without any trouble at all... I can browse any website without complaint. My FreeBSD system connects to my WIFI router just fine as well.. I am seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) Pulling up Google.com can take up to 30s.. Without reading any further, this simply =reeks= of being a DNS problem. (99.98792+% of all 30+ seconds to something over the net problems are timeout issue. :) I suspect: a) the new router is not using the same 'local network' adddress as the old one was, This is not a total show stopper, because everyting 'local' is using DHCP to get both the local machine address _and_ the router address. b) you have a DNS server address hard-coded in the /etc/resolv.conf file. (the old router and new router are providing DNS proxy services on *different* addresses, and wyat you have hard-coded is the -old- address) c) your FBSD machine is trying to query the hard-coded DNS server address _first_, and when it gets no response, it *eventually* (ie. after 30 seconds) tries the 'second' DNS server address it has, which is the one learned by DHCP -- that works, the name resolves, and the page loads. On a WORKING windows box click Start-Run, and type 'ipconfig/all' in the box, to see what it is using for a DNS server. Check '/etc/resolv.conf' on your FreeBSD box, and see if it lists a *different* address on a 'namemserver' line. Heres what my resolv.conf is, ive changed it to use the router and itself, no change in status: [...@yeaguy ~]$ cat /etc/resolv.conf #domain yeaguy.com #nameserver 10.1.1.1 nameserver 192.168.1.1 [...@yeaguy ~]$ Im currently set to use the router.. The WIN pc is using: 209.18.47.61 and 209.18.47.62.. hmm.. i will try those.. Still hangs and times out.. but able to resolve and ping google.com just fine g... yeaguy# nslookup nytimes.com Server: 209.18.47.61 Address:209.18.47.61#53 Non-authoritative answer: Name: nytimes.com Address: 199.239.136.200 yeaguy# ipnat -l List of active MAP/Redirect filters: map wlan0 10.1.1.0/24 - 192.168.1.169/32 portmap tcp/udp 1:6 map wlan0 10.1.1.0/24 - 192.168.1.169/32 List of active sessions: MAP 10.1.1.190 53401 - - 192.168.1.169 45879 [72.14.204.147 80] MAP 10.1.1.190 53398 - - 192.168.1.169 18541 [72.14.204.147 80] MAP 10.1.1.190 53397 - - 192.168.1.169 27460 [72.14.204.147 80] yeaguy# cat /etc/resolv.conf #domain yeaguy.com #nameserver 10.1.1.1 #nameserver 192.168.1.1 nameserver 209.18.47.61 nameserver 209.18.47.62 yeaguy# yeaguy# telnet nytimes.com 80 Trying 199.239.136.200... Connected to nytimes.com. Escape character is '^]'. I got google to come up after refreshing the page, nytimes still does not come up no matter what, can telnet it just fine on port 80 tho... this doesnt make sense. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I think we are resolved... I statically set my NAT'd WIN PC to what the Laptop was picking up and problem solved.. I edited named.conf and set my forwarders to what my laptop was picking up and problem solved.. my named.conf have the forwarder set to: 192.168.1.1, apparently the new router and an old dns server from my last job.. which normally worked fine.. i suspect that the old router was able to handle dns, while this one cannot... Thanks so much.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pls help..
On Tue, 14 Dec 2010, Da Rock wrote: On 12/14/10 19:54, Justin V. wrote: Hi, I am having a very difficult time understanding what is going on with this FreeBSD machine.. I was having inet trouble so i put in a new router on my network (home network).. I have a FreeBSD machine on my network: FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 I have windows machines on my network.. One of my windows machines is my laptop and I connect directly to the router via WIFI without any trouble at all... I can browse any website without complaint. My FreeBSD system connects to my WIFI router just fine as well.. I am seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) Pulling up Google.com can take up to 30s.. My Other windows machine is using the FreeBSD as its gateway, I am running ipnat. This pc suffers from the same issues as the FreeBSD box.. I configured the new router with the same ssid and wepkey.. so minimal adjustments would have to be made for other WIFI users in the house.. Everyone is fine except me... My server is fine as far as my Website is concerned.. I changed my DNS with my host to point to my new WAN IP.. I can pull my page fine.. I can ssh to my server fine from my phone, phones ip is from my Phones netowrk.. this is not being done via WIFI on my phone.. So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like it used to.. 30s to 40s to pull up google is just unacceptable, when I have my laptop sitting here using the same WIFI router pulling it up in about 3ms... Another odd symptom I am seeing is that when i issue the command 'alpine' to check my email, it hangs for a good 30s So in my mind, Im thinking, what changed?? My router and my Public IP.. thats it.. its almost like I have my OLD WAN ip hardcoded somewhere causing a conflict.. I cannot find it hardcoded anywhere.. Heres an example of what im seeing: [...@yeaguy ~]$ ping google.com PING google.com (72.14.204.147): 56 data bytes 64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms 64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms 64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms 64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms ^C --- google.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms [...@yeaguy ~]$ telnet google.com 80 Trying 72.14.204.147... Connected to google.com. it hung here for alot longer than 85ms Escape character is '^]'. ^] telnet q Connection closed. [...@yeaguy ~]$ I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN PC that is using the FreeBSD as the gateway, but I can telnet to it on tcp port 80 just fine.. [...@yeaguy ~]$ telnet nytimes.com 80 Trying 199.239.136.200... Connected to nytimes.com. Escape character is '^]'. get HTMLHEADTITLEBad request/TITLE/HEAD BODYH1Bad request/H1 Your browser sent a query this server could not understand. /BODY/HTMLConnection closed by foreign host. [...@yeaguy ~]$ Heres some config files: [...@yeaguy ~]$ cat /etc/rc.conf wlans_rum0=wlan0 gateway_enable=YES ifconfig_wlan0=inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet wepmode on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI defaultrouter=192.168.1.1 apache22_enable=YES hald_enable=YES dbus_enable=YES samba_enable=YES nmbd_enable=YES smbd_enable=YES winbindd_enable=YES hostname=yeaguy.com ifconfig_em0=inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 description LAN inetd_enable=YES linux_enable=YES sshd_enable=YES usbd_enable=YES postfix_enable=YES sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO firewall_enable=YES firewall_script=/etc/fire ipnat_enable=YES ipnat_program=/sbin/ipnat ipnat_rules=/etc/ipnat.rules ipnat_flags= #ipmon_enable=YES #ipmon_program=/sbin/ipmon #ipmon_flags=-Ds named_enable=YES ntpdate_enable=YES ntpdate_program=ntpdate ntpdate_flags=-b 0.north-america.pool.ntp.org mysql_enable=YES clamav_clamd_enable=YES clamav_freshclam_enable=YES amavisd_enable=YES #amavisd_ram=512m pf_enable=YES pf_rules=/etc/pf.conf pflog_enable=YES saver=daemon [...@yeaguy ~]$ ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 description: LAN options=219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC ether 00:16:76:bf:17:29 inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 pflog0: flags=141UP,RUNNING,PROMISC metric 0 mtu 33200 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=3RXCSUM,TXCSUM inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128
Re: usb devices
On Wed, 8 Dec 2010, Chris Brennan wrote: Does usbconf show that it was indeed registered? The kernel may see it and fail to pass it to the USB subsystem for what ever reason. -- Sent from my Droid On Dec 7, 2010 8:26 PM, justin v v...@yeaguy.com wrote: Aloha world.. For whatever reason, today, when i plugin my USB devices they are not showing up.. They are just not registering.. Never seen this problem before... Prior to today, I was able to plug my Android phone in and mount it just fine. Prior to today, I was able to plug my usb mouse and keyboard in and type away at the console or in xorg.. so i run tail -f /var/log/messages from my alt. pc and plug in my phone and nothing.. It was working fine the previous days, you can see my phone and logitech keyboard.. Sure I suppose I could reboot but I dont want to... My system: yeaguy# uname -a FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 My WIFI adapter is usb.. I am up and passing traffic on that interface too, so im a little confused.. yeaguy# cat /var/log/messages | grep -i usb Dec 6 10:32:38 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 10:32:38 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 6 10:32:38 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 6 10:32:39 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 11:48:08 yeaguy kernel: ugen1.2: Logitech at usbus1 Dec 6 11:48:08 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:08 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:09 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:09 yeaguy root: Unknown USB device: vendor 0x046d product 0xc52b bus uhub1 Dec 6 11:54:35 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected) Dec 6 13:06:03 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 6 18:47:33 yeaguy kernel: ugen1.2: Logitech at usbus1 Dec 6 18:47:33 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:47:33 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:47:33 yeaguy root: Unknown USB device: vendor 0x046d product 0xc52b bus uhub1 Dec 6 18:47:33 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:57:23 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected) Dec 6 19:02:46 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 19:02:46 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 6 19:02:46 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 6 19:02:47 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 22:39:32 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 7 00:19:50 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:19:50 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 7 00:19:50 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 7 00:19:51 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:22:38 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 7 00:23:05 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:23:05 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 7 00:23:05 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 7 00:23:06 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 06:06:07 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) yeaguy# Thanks, justin v. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I ended up rebooting.. USB works.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
usb devices
Aloha world.. For whatever reason, today, when i plugin my USB devices they are not showing up.. They are just not registering.. Never seen this problem before... Prior to today, I was able to plug my Android phone in and mount it just fine. Prior to today, I was able to plug my usb mouse and keyboard in and type away at the console or in xorg.. so i run tail -f /var/log/messages from my alt. pc and plug in my phone and nothing.. It was working fine the previous days, you can see my phone and logitech keyboard.. Sure I suppose I could reboot but I dont want to... My system: yeaguy# uname -a FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 My WIFI adapter is usb.. I am up and passing traffic on that interface too, so im a little confused.. yeaguy# cat /var/log/messages | grep -i usb Dec 6 10:32:38 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 10:32:38 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 6 10:32:38 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 6 10:32:39 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 11:48:08 yeaguy kernel: ugen1.2: Logitech at usbus1 Dec 6 11:48:08 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:08 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:09 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:09 yeaguy root: Unknown USB device: vendor 0x046d product 0xc52b bus uhub1 Dec 6 11:54:35 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected) Dec 6 13:06:03 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 6 18:47:33 yeaguy kernel: ugen1.2: Logitech at usbus1 Dec 6 18:47:33 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:47:33 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:47:33 yeaguy root: Unknown USB device: vendor 0x046d product 0xc52b bus uhub1 Dec 6 18:47:33 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:57:23 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected) Dec 6 19:02:46 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 19:02:46 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 6 19:02:46 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 6 19:02:47 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 22:39:32 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 7 00:19:50 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:19:50 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 7 00:19:50 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 7 00:19:51 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:22:38 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 7 00:23:05 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:23:05 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 7 00:23:05 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 7 00:23:06 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 06:06:07 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) yeaguy# Thanks, justin v. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why do you use a devil as a mascot?
On Sat, 13 Nov 2010, Mario Lobo wrote: On Friday 12 November 2010 23:27:42 Mubeesh ali wrote: i guess it is high time this list bans the word devil in subject ;-) Let's hack the term and use lucifer instead! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winfoes FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Its Beelzebub, the daemon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
802.11 USB recommendations
Can anyone recommend a stable USB Wifi NIC?? Mine seems to be having issues: [...@yeaguy ~]$ cat /var/log/messages | grep wlan0 Nov 4 19:03:29 yeaguy kernel: wlan0: Ethernet address: 00:1e:e5:a8:bd:5a Nov 4 19:03:30 yeaguy kernel: wlan0: link state changed to UP Nov 4 20:59:53 yeaguy kernel: wlan0: Ethernet address: 00:1e:e5:a8:bd:5a Nov 4 20:59:54 yeaguy kernel: wlan0: link state changed to UP Nov 6 00:16:15 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 00:16:19 yeaguy kernel: wlan0: link state changed to UP Nov 6 00:16:47 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 00:16:47 yeaguy kernel: wlan0: link state changed to UP Nov 6 00:17:30 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 00:17:31 yeaguy kernel: wlan0: link state changed to UP Nov 6 04:23:40 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 04:23:53 yeaguy kernel: wlan0: link state changed to UP Nov 6 10:28:18 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 10:28:28 yeaguy kernel: wlan0: link state changed to UP [...@yeaguy ~]$ grep rum /var/run/dmesg.boot rum0: Cisco-Linksys Compact Wireless-G USB Adapter, class 0/0, rev 2.00/0.01, addr 2 on usbus2 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: need multicast update callback [...@yeaguy ~]$ Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installed memory today, questions immediately
On Fri, 5 Nov 2010, Leslie Jensen wrote: On 2010-11-05 04:41, justin v wrote: On Thu, 04 Nov 2010 19:35:20 -0700, Jon Radel j...@radel.com wrote: On 11/4/10 10:13 PM, justin v wrote: I installed 4GB or memory today. I rebooted and see this, the first line after the splash menu thing: 983040K of memory above 4GB ignored dmesg shows avail mem amount and I am concerned as well: real memory = 4294967296 (4096 MB) avail memory = 3139940352 (2994 MB) is a stick bad perhaps? Start by reading http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/compatibility-memory.html If that doesn't cover it, come back here and include a little information about the version of FreeBSD and the hardware you're using. I would suggest you to give us the output of uname -a I suspect you are running the 32-bit version of FreeBSD and it cannot address more that 3 Gb of RAM. /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org yep running 32-bit and have a 686. No PAE happening. oh well. i wasnt sure if id run into any compatiblity issues.. i have this server running how i want, no issues, so, 32bit OS with 3GB ram will do... thanks for the response. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installed memory today, questions immediately
On Fri, 05 Nov 2010 15:29:35 -0700, Robert Bonomi bon...@mail.r-bonomi.com wrote: From owner-freebsd-questi...@freebsd.org Fri Nov 5 01:18:07 2010 Date: Fri, 05 Nov 2010 08:19:43 +0100 From: Leslie Jensen les...@eskk.nu To: justin v v...@yeaguy.com Cc: FreeBSD Mailing List freebsd-questions@freebsd.org, Jon Radel j...@radel.com Subject: Re: Installed memory today, questions immediately On 2010-11-05 04:41, justin v wrote: On Thu, 04 Nov 2010 19:35:20 -0700, Jon Radel j...@radel.com wrote: On 11/4/10 10:13 PM, justin v wrote: I installed 4GB or memory today. I rebooted and see this, the first line after the splash menu thing: 983040K of memory above 4GB ignored dmesg shows avail mem amount and I am concerned as well: real memory = 4294967296 (4096 MB) avail memory = 3139940352 (2994 MB) is a stick bad perhaps? Start by reading http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/compatibility-memory.html If that doesn't cover it, come back here and include a little information about the version of FreeBSD and the hardware you're using. I would suggest you to give us the output of uname -a I suspect you are running the 32-bit version of FreeBSD and it cannot address more that 3 Gb of RAM. Must be a hardware issue, too. I'm running 7.2/i386 on a P-III box, and the boot messages shows 3.9+ gigs 'avail mem'. I double-checked, no mention of PAE in the kernel config, either. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I running 32bit OS.. i should have run 64bit actually.. I forgot about the memory limitations with 32bit os. -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Installed memory today, questions immediately
I installed 4GB or memory today. I rebooted and see this, the first line after the splash menu thing: 983040K of memory above 4GB ignored dmesg shows avail mem amount and I am concerned as well: real memory = 4294967296 (4096 MB) avail memory = 3139940352 (2994 MB) is a stick bad perhaps? yeaguy# dmidecode -t memory # dmidecode 2.10 SMBIOS 2.3 present. Handle 0x1000, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: Single-bit ECC Maximum Capacity: 1 GB Error Information Handle: Not Provided Number Of Devices: 4 Handle 0x1100, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: DIMM_1 Bank Locator: Not Specified Type: DDR Type Detail: Synchronous Speed: 800 MHz Manufacturer: 7F7F7F7F7F9B Serial Number: Asset Tag: 000A28 Part Number: CT12864AA800.M8FH Handle 0x1101, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: DIMM_3 Bank Locator: Not Specified Type: DDR Type Detail: Synchronous Speed: 800 MHz Manufacturer: 7F7F7F7F7F9B Serial Number: Asset Tag: 000A28 Part Number: CT12864AA800.M8FH Handle 0x1102, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: DIMM_2 Bank Locator: Not Specified Type: DDR Type Detail: Synchronous Speed: 800 MHz Manufacturer: 7F7F7F7F7F9B Serial Number: Asset Tag: 000A28 Part Number: CT12864AA800.M8FH Handle 0x1103, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: DIMM_4 Bank Locator: Not Specified Type: DDR Type Detail: Synchronous Speed: 800 MHz Manufacturer: 7F7F7F7F7F9B Serial Number: Asset Tag: 000A28 Part Number: CT12864AA800.M8FH yeaguy# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installed memory today, questions immediately
On Thu, 04 Nov 2010 19:35:20 -0700, Jon Radel j...@radel.com wrote: On 11/4/10 10:13 PM, justin v wrote: I installed 4GB or memory today. I rebooted and see this, the first line after the splash menu thing: 983040K of memory above 4GB ignored dmesg shows avail mem amount and I am concerned as well: real memory = 4294967296 (4096 MB) avail memory = 3139940352 (2994 MB) is a stick bad perhaps? Start by reading http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/compatibility-memory.html If that doesn't cover it, come back here and include a little information about the version of FreeBSD and the hardware you're using. -- Thank you, that covers it.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: installing a window manager
On Wed, 3 Nov 2010, Dick Hoogendijk wrote: Up 'till now I had a server without X. I've a need however to be able to graphically work on that server so I thought: I install x11-servers/xorg.server and after that I build windowmaker (nice and light). However, this does not seem to be enough to get X working. Can somebody tell me what to build (with portmaster) to get a minimal X server station with windowmaker. I run 8.1/amd64 with up2date ports. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Here is what i have installed for X: [...@yeaguy ~]$ pkg_info | grep -i xorg linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) xorg-7.5X.Org complete distribution metaport xorg-apps-7.5 X.org apps meta-port xorg-docs-1.4,1 X.org documentation files xorg-drivers-7.5X.org drivers meta-port xorg-fonts-100dpi-7.5 X.Org 100dpi bitmap fonts xorg-fonts-7.5 X.org fonts meta-port xorg-fonts-75dpi-7.5 X.Org 75dpi bitmap fonts xorg-fonts-cyrillic-7.5 X.Org Cyrillic bitmap fonts xorg-fonts-miscbitmaps-7.5 X.Org miscellaneous bitmap fonts xorg-fonts-truetype-7.5 X.Org TrueType fonts xorg-fonts-type1-7.5 X.Org Type1 fonts xorg-libraries-7.5 X.org libraries meta-port xorg-server-1.7.5,1 X.Org X server and related programs [...@yeaguy ~]$ For Xorg all I did was pkg_add -r xorg and Im using Awesome WM, very lightweight and quick.. But its not your typical WM.. Its a tiling WM, you cant resize your windows.. really.. you organize your desktop window by clicking in the right hand corner of the desktop.. This WM has grown on me... give it a shot. The purpose of it, i guess, is to elimiate wasting your time resizing your windows.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SSHgaurd and PF
Hi, Would this be considered bruteforce?? This goes on and on: Nov 2 05:42:19 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:42:53 yeaguy last message repeated 3 times Nov 2 05:43:11 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:43:31 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:43:35 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:43:54 yeaguy last message repeated 2 times Nov 2 05:44:27 yeaguy last message repeated 2 times Nov 2 05:44:47 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:44:53 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:45:27 yeaguy last message repeated 3 times Nov 2 05:45:44 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:46:05 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:46:12 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:46:47 yeaguy last message repeated 3 times Nov 2 05:47:03 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:47:24 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:47:31 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:48:06 yeaguy last message repeated 3 times Nov 2 05:48:24 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:48:45 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:48:50 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:49:25 yeaguy last message repeated 3 times Nov 2 05:49:42 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:50:01 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:50:08 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:50:40 yeaguy last message repeated 3 times Nov 2 05:50:58 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:51:20 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:51:25 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:51:59 yeaguy last message repeated 3 times Nov 2 05:52:16 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] My sshgaurd config: # $FreeBSD: src/share/examples/pf/pf.conf,v 1.1.4.1.4.1 2010/06/14 02:09:06 kensmith Exp $ # $OpenBSD: pf.conf,v 1.34 2007/02/24 19:30:59 millert Exp $ # # See pf.conf(5) and /usr/share/examples/pf for syntax and examples. # Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1 # in /etc/sysctl.conf if packets are to be forwarded between interfaces. ext_if=wlan0 #int_if=int0 #table spamd-white persist table sshguard persist #set skip on lo #scrub in #nat-anchor ftp-proxy/* #rdr-anchor ftp-proxy/* #nat on $ext_if from !($ext_if) - ($ext_if:0) #rdr pass on $int_if proto tcp to port ftp - 127.0.0.1 port 8021 #no rdr on $ext_if proto tcp from spamd-white to any port smtp #rdr pass on $ext_if proto tcp from any to any port smtp \ # - 127.0.0.1 port spamd #anchor ftp-proxy/* #block in block in log quick on $ext_if from sshguard label bruteforce #pass out #pass quick on $int_if no state #antispoof quick for { lo $int_if } #pass in on $ext_if proto tcp to ($ext_if) port ssh #pass in log on $ext_if proto tcp to ($ext_if) port smtp #pass out log on $ext_if proto tcp from ($ext_if) to port smtp LOGS: yeaguy# nslookup a214.amber.fastwebserver.de Server: 10.1.1.1 Address:10.1.1.1#53 Non-authoritative answer: Name: a214.amber.fastwebserver.de Address: 217.79.189.214 yeaguy# tcpdump -n -e -ttt -r /var/log/pflog | grep 217.79.189.214 reading from file /var/log/pflog, link-type PFLOG (OpenBSD pflog file) yeaguy# Thanks, Justin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to
Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 09:34, Justin V. v...@yeaguy.com wrote: Hi, Would this be considered bruteforce?? Yes This goes on and on: Nov 2 05:42:19 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:42:53 yeaguy last message repeated 3 times [...] My sshgaurd config: Something isn't set up right if you are getting that many attempts - it should kill them right away: Nov 1 10:47:51 peridot sshd[77847]: reverse mapping checking getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed - POSSIBLE BREAK-IN ATTEMPT! Nov 1 10:47:53 peridot sshd[77967]: reverse mapping checking getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed - POSSIBLE BREAK-IN ATTEMPT! Nov 1 10:47:54 peridot sshd[78123]: reverse mapping checking getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed - POSSIBLE BREAK-IN ATTEMPT! Nov 1 10:47:56 peridot sshd[78228]: reverse mapping checking getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed - POSSIBLE BREAK-IN ATTEMPT! Nov 1 10:47:56 peridot sshguard[49177]: Blocking 178.238.137.213:4 for 420secs: 4 failures over 5 seconds. Do you have the syslog.conf part set up as well as the pf part? I've only used it for ssh but something like the following needs to be there: auth.info;authpriv.info |exec /usr/local/sbin/sshguard yeaguy# nslookup a214.amber.fastwebserver.de Server: 10.1.1.1 Address: 10.1.1.1#53 Non-authoritative answer: Name: a214.amber.fastwebserver.de Address: 217.79.189.214 I wouldn't waste your time trying to find out who they are - just block and move on. That site is probably a shared web hosting account that was compromised by a bad php script - even if you successfully complain (assuming it is a legit hoster that cares) and they do something about it, there are thousands more. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This is the guide I used: http://www.sshguard.net/docs/setup/firewall/pf/ I followed this section to block all brute attempts: Add this line in the packet filtering (rules) section: block in quick on $ext_if proto tcp from sshguard to any port 22 label ssh bruteforce Replace $ext_if with your WAN interface name if needed. Omit the proto tcp and the to any port 22 segment if you want to block all the traffic from attackers (not just ssh). I really like this port, just keeps the logs from filling up.. Im not going to email their abuse desk just wishing that sshguard would do what I expected it to do via the how to.. :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 10:03, Justin V. v...@yeaguy.com wrote: This is the guide I used: http://www.sshguard.net/docs/setup/firewall/pf/ I followed this section to block all brute attempts: Right, but did you do this part too? http://www.sshguard.net/docs/setup/getlogs/syslog/ The part you mentioned sets up the table and has pf drop the connection attempts, but you need to configure syslog to fill the table with IPs of attackers. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Actually this was installed after the port completed: yeaguy# grep sshg /etc/syslog.conf auth.info;authpriv.info |exec /usr/local/sbin/sshguard But it is not exactly what the HOWTO ways, the HOWTO does not mention the exec part. Put this line high into this file: auth.info;authpriv.info|/usr/local/sbin/sshguard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 10:40, Justin V. v...@yeaguy.com wrote: Actually this was installed after the port completed: yeaguy# grep sshg /etc/syslog.conf auth.info;authpriv.info |exec /usr/local/sbin/sshguard But it is not exactly what the HOWTO ways, the HOWTO does not mention the exec part. Could be that the docs are written for Linux or another version of syslog. The port and the man page say include the exec, so I would go with that. Put this line high into this file: auth.info;authpriv.info |/usr/local/sbin/sshguard Ok - if that isn't working, then check to see if your ftp server is logging to syslog under auth or authpriv. If not you'll need to change the setup to get the logs from the right place. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I do not see ftp going to auth: yeaguy# grep -i pure /var/log/auth.log yeaguy# grep -i ftp /var/log/auth.log Oct 30 07:36:49 yeaguy sshd[74718]: subsystem request for sftp Oct 30 08:37:25 yeaguy sshd[74942]: subsystem request for sftp Oct 30 08:51:20 yeaguy sshd[74984]: subsystem request for sftp Oct 30 12:49:04 yeaguy sshd[2301]: subsystem request for sftp Oct 30 12:49:56 yeaguy sshd[2308]: subsystem request for sftp Nov 2 08:44:42 yeaguy sshd[17190]: subsystem request for sftp Nov 2 08:46:14 yeaguy sshd[17241]: subsystem request for sftp yeaguy# But I dont have pure-ftp looking at pam so that makes sense right? Probably wouldnt show up there then? I am doing virtual user for pure-ftp. Here is the passwd db for pure: yeaguy# grep pure /etc/inetd.conf ftp stream tcp nowait root /usr/local/sbin/pure-ftpd pure-ftpd -l puredb:/usr/local/etc/pureftpd.pdb yeaguy# so i need to pipe the pure db to auth? thanks, justin___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 10:40, Justin V. v...@yeaguy.com wrote: Actually this was installed after the port completed: yeaguy# grep sshg /etc/syslog.conf auth.info;authpriv.info |exec /usr/local/sbin/sshguard But it is not exactly what the HOWTO ways, the HOWTO does not mention the exec part. Could be that the docs are written for Linux or another version of syslog. The port and the man page say include the exec, so I would go with that. Put this line high into this file: auth.info;authpriv.info |/usr/local/sbin/sshguard Ok - if that isn't working, then check to see if your ftp server is logging to syslog under auth or authpriv. If not you'll need to change the setup to get the logs from the right place. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org So i added this: auth.info;authpriv.info;ftp.info/var/log/auth.log This is existing: ftp.info/var/log/xferlog I see my failed attempts going to auth.log and sshguard is still not blocking or logging.. I restarted both syslog and sshguard.. I feel like we are almost there thanks, jv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SOLVED Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 11:42, Justin V. v...@yeaguy.com wrote: So i added this: auth.info;authpriv.info;ftp.info /var/log/auth.log This is existing: ftp.info /var/log/xferlog I see my failed attempts going to auth.log and sshguard is still not blocking or logging.. I restarted both syslog and sshguard.. I feel like we are almost there thanks, jv Great - then try: ftp.info |exec /usr/local/sbin/sshguard in your /etc/syslog.conf (don't forget to restart syslog) and it should be working - I'm not sure what the threshold for sshguard to block someone is, but you could test it - just make sure you have a way to get back in if it works and your IP is blocked (or wait for the next script kiddie). -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Your the man.. Worked like a charm. Thanks for all your help! jv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is there a utillity...?
On Mon, 01 Nov 2010 20:48:01 -0700, Antonio Olivares olivares14...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:42 PM, Gary Kline kl...@thought.org wrote: People, is there a utility to give me the rate of bps that I am _supposed_ to be getting from my telco DSL? tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php An Open Letter to Stephen Hawking http://www.thought.org/#oL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Try iperf? http://www.freebsdsoftware.org/benchmarks/iperf.html Used it to test speed on modem connection. Hope this helps. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Using Opera's revolutionary email client: http://www.opera.com/mail/ Dont you need a Client when using IPERF?? If you want to see your current in/out in realtime try: netstat -I int -w 1 To see my throughput I do: netstat -I wlan0 -w 1 Hope this helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mediatomb and m3u issues
Hi, This is for any mediatomb users. I recently installed Mediatomb with mencoder. Everything works solid on the video side of things.. I can stream video from my FreeBSD machine to my PS3 without any issue. The only issue I see is when I add my music to the mediatomb db. I keep getting a segmentaion fault: Oct 27 17:10:57 hbca kernel: pid 92235 (mediatomb), uid 1001: exited on signal 11 (core dumped) Soon as mediatomb crashes, I check the last file it crashed on, usually a .m3u and remove that .m3u file and then it add the files to the db fine... Anyone know of another workaround?? Thanks, vic ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: start kde in 8.1
On Thu, 28 Oct 2010 20:24:19 -0700, Tim Dunphy bluethu...@gmail.com wrote: sorry forgot to mention I am running it on a dell optiplex gx620 .. thanks in advance On Thu, Oct 28, 2010 at 11:16 PM, Tim Dunphy bluethu...@gmail.com wrote: hey guys, I have kdebase4 installed successfully under freebsd 8.1 I found the following advice on the net with so far isn't working to start it: echo startkde ~/.xinitrc I have attempted startx but the system doesn't know about it. may I have a suggestion to proceed? thanks! -- Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!! -- Using Opera's revolutionary email client: http://www.opera.com/mail/ Did you install xorg? -/usr/ports/x11/xorg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Amavisd-new issues..
Hello, I recently attempted to install amavisd-new along with clamd to scan email. Here is the guide I used: http://www.freebsddiary.org/virus-scanning.php Everything goes fine until its time to start amavisd-new. It just doesnt start and I do not see anything in the logs to indicate a problem. When I issue the command I see no errors, but do not see it running when I check ps aux Some output from my device: [...@hbca ~]$ uname -a FreeBSD hbca.yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Oct 25 20:48:05 PDT 2010 v...@hbca.yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 [...@hbca ~]$ pkg_info | grep amavis amavisd-new-2.6.4_8,1 Performance-enhanced daemonized version of amavis-perl [...@hbca ~]$ perl -v This is perl, v5.10.1 (*) built for i386-freebsd-64int Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using man perl or perldoc perl. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. [...@hbca ~]$ pkg_info | grep perl amavisd-new-2.6.4_8,1 Performance-enhanced daemonized version of amavis-perl p5-DBI-1.615The perl5 Database Interface. Required for DBD::* modules p5-MIME-Tools-5.428,2 A set of perl5 modules for MIME p5-Storable-2.21Persistency for perl data structures p5-Test-Harness-3.22 Run perl standard test scripts with statistics perl-5.10.1_1 Practical Extraction and Report Language [...@hbca ~]$ Thank you for your time, jv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Amavisd-new issues..
On Wed, 27 Oct 2010, Bruce Cran wrote: On Wed, 27 Oct 2010 01:11:32 -0700 (PDT) Justin V. v...@yeaguy.com wrote: Everything goes fine until its time to start amavisd-new. It just doesnt start and I do not see anything in the logs to indicate a problem. Have you checked /var/log/maillog ? -- Bruce Cran Ah ok.. I was only checking /var/log/messages... I need to check that HOWTO again, did it say messages or maillog? But at least I have an idea now of whats going on.. Oct 27 10:43:37 hbca amavis[71920]: starting. /usr/local/sbin/amavisd at yeaguy.com amavisd-new-2.6.4 (20090625), Unicode aware Oct 27 10:43:37 hbca amavis[71920]: Perl version 5.010001 Oct 27 10:43:38 hbca amavis[71922]: Net::Server: Group Not Defined. Defaulting to EGID '110 110' Oct 27 10:43:38 hbca amavis[71922]: Net::Server: User Not Defined. Defaulting to EUID '110' Oct 27 10:43:38 hbca amavis[71922]: Module Amavis::Conf2.207 Oct 27 10:43:38 hbca amavis[71922]: Module Archive::Zip1.30 Oct 27 10:43:38 hbca amavis[71922]: Module BerkeleyDB 0.43 Oct 27 10:43:38 hbca amavis[71922]: Module Compress::Zlib 2.02 Oct 27 10:43:38 hbca amavis[71922]: Module Convert::TNEF 0.17 Oct 27 10:43:38 hbca amavis[71922]: Module Convert::UUlib 1.33 Oct 27 10:43:38 hbca amavis[71922]: Module Crypt::OpenSSL::RSA 0.26 Oct 27 10:43:38 hbca amavis[71922]: Module DBD::mysql 4.017 Oct 27 10:43:38 hbca amavis[71922]: Module DBI 1.615 Oct 27 10:43:38 hbca amavis[71922]: Module DB_File 1.82 Oct 27 10:43:38 hbca amavis[71922]: Module Digest::MD5 2.39 Oct 27 10:43:38 hbca amavis[71922]: Module Digest::SHA 5.47 Oct 27 10:43:38 hbca amavis[71922]: Module Digest::SHA12.13 Oct 27 10:43:38 hbca amavis[71922]: Module IO::Socket::INET6 2.65 Oct 27 10:43:38 hbca amavis[71922]: Module MIME::Entity5.428 Oct 27 10:43:38 hbca amavis[71922]: Module MIME::Parser5.428 Oct 27 10:43:38 hbca amavis[71922]: Module MIME::Tools 5.428 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::DKIM::Signer 0.38 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::DKIM::Verifier 0.38 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::Header2.07 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::Internet 2.07 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::SpamAssassin 3.003001 Oct 27 10:43:38 hbca amavis[71922]: Module Net::DNS0.66 Oct 27 10:43:38 hbca amavis[71922]: Module Net::Server 0.99 Oct 27 10:43:38 hbca amavis[71922]: Module NetAddr::IP 4.028 Oct 27 10:43:38 hbca amavis[71922]: Module Razor2::Client::Version 2.84 Oct 27 10:43:38 hbca amavis[71922]: Module Socket6 0.23 Oct 27 10:43:38 hbca amavis[71922]: Module Time::HiRes 1.9719 Oct 27 10:43:38 hbca amavis[71922]: Module URI 1.56 Oct 27 10:43:38 hbca amavis[71922]: Module Unix::Syslog1.1 Oct 27 10:43:38 hbca amavis[71922]: Amavis::DB code loaded Oct 27 10:43:38 hbca amavis[71922]: Amavis::Cache code loaded Oct 27 10:43:38 hbca amavis[71922]: SQL base codeNOT loaded Oct 27 10:43:38 hbca amavis[71922]: SQL::Log codeNOT loaded Oct 27 10:43:38 hbca amavis[71922]: SQL::Quarantine NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Lookup::SQL code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Lookup::LDAP codeNOT loaded Oct 27 10:43:38 hbca amavis[71922]: AM.PDP-in proto code loaded Oct 27 10:43:38 hbca amavis[71922]: SMTP-in proto code loaded Oct 27 10:43:38 hbca amavis[71922]: Courier proto code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: SMTP-out proto code loaded Oct 27 10:43:38 hbca amavis[71922]: Pipe-out proto code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: BSMTP-out proto code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Local-out proto code loaded Oct 27 10:43:38 hbca amavis[71922]: OS_Fingerprint code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-VIRUS code loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM code loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM-EXT code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM-C code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM-SA codeloaded Oct 27 10:43:38 hbca amavis[71922]: Unpackers code loaded Oct 27 10:43:38 hbca amavis[71922]: DKIM codeloaded Oct 27 10:43:38 hbca amavis[71922]: Tools code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Found $fileat /usr/local/bin/file Oct 27 10:43:38 hbca amavis[71922]: No $altermime, not using it Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .mail Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .asc Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .uue Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .hqx Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .ync Oct 27 10:43:38 hbca amavis[71922]: Found decoder for.F