Error produced by static ip setting: ifconfig: inet: bad value

2011-01-31 Thread Yue Wu
wepmode on weptxkey 1 wepkey 1:0x11 inet 192.168.1.144 netmask 255.255.255.0" But the setting makes BSD networking not working anymore, and when the system starts up, there's an error message: ifconfig: inet: bad value What's wrong? How to use static ip in my wirele

Re: Error produced by static ip setting: ifconfig: inet: bad value

2011-01-31 Thread Yue Wu
On Mon, Jan 31, 2011 at 08:57:29PM +0800, Yue Wu wrote: > List, > > Hi. > > I use following setting for my wireless networking enviroment: > > ifconfig_wlan0="mode 11g bssid my:bssid wepmode on weptxkey 1 wepkey > 1:0x11 DHCP" > > But I d

Re: Error produced by static ip setting: ifconfig: inet: bad value

2011-01-31 Thread Yue Wu
On Mon, Jan 31, 2011 at 02:50:25PM +0100, Bernhard Schmidt wrote: > On Monday, January 31, 2011 13:57:29 Yue Wu wrote: > > List, > > > > Hi. > > > > I use following setting for my wireless networking enviroment: > > > > ifconfig_wlan0=&

Why ssid is a required parameter for wpa_supplicant?

2011-01-31 Thread Yue Wu
Hi, list, As the title, I like to use bssid to specify the wireless networking I want to connect, so if ssid changed, I don't need to change the configure file. Just curious why ssid is a required parameter, it would be nice if only one of ssid and bssid is required instead. -- Regards, Y

Re: Error produced by static ip setting: ifconfig: inet: bad value

2011-01-31 Thread Yue Wu
On Mon, Jan 31, 2011 at 06:05:56PM -0800, Jeremy Chadwick wrote: > On Tue, Feb 01, 2011 at 09:55:47AM +0800, Yue Wu wrote: > > On Mon, Jan 31, 2011 at 02:50:25PM +0100, Bernhard Schmidt wrote: > > > On Monday, January 31, 2011 13:57:29 Yue Wu wrote: > > >

Is /etc/rc.conf scriptable?

2011-02-01 Thread Yue Wu
an0 list scan 2>/dev/null | grep -q 'bb:bb:bb:bb:bb:bb' >/dev/null 2>&1; then ifconfig_wlan0="inet 192.168.1.111 netmask 255.255.255.0 WPA" fi if [ -x /usr/local/sbin/bitlbee ]; then bitlbee_enable="YES" fi My question is, how to achieve what I want? The simpler,

Re: Is /etc/rc.conf scriptable?

2011-02-03 Thread Yue Wu
Sorry for late reply. Thank you for all kindly and useful help! On Tue, Feb 01, 2011 at 01:57:10PM +0100, Paul Schenkeveld wrote: > On Tue, Feb 01, 2011 at 08:35:06PM +0800, Yue Wu wrote: > > Hi list, > > > > I'm trying to do something to make rc.conf can act conditio

Question about packages installed via `pkg_add -r`

2011-03-05 Thread Yue Wu
Hi, list, I'm trying to use package instead of ports these day, but a few questions have: 1. How to reserve packages that fetched via `pkg_add -r`? 2. How to know if there are updates for packages, and how to update? -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Departme

Re: Question about packages installed via `pkg_add -r`

2011-03-05 Thread Yue Wu
Hello, sorry for poor English, I will try to explan clearer with my best. On Sat, Mar 05, 2011 at 04:48:17PM +0100, Greg Byshenk wrote: > On Sat, Mar 05, 2011 at 11:04:36PM +0800, Yue Wu wrote: > > > I'm trying to use package instead of ports these day, but a few > > que

Re: Question about packages installed via `pkg_add -r`

2011-03-05 Thread Yue Wu
On Sat, Mar 05, 2011 at 08:02:47PM -0500, ill...@gmail.com wrote: > On 5 March 2011 20:00, Yue Wu wrote: > > Hello, sorry for poor English, I will try to explan clearer with my > > best. > > > > On Sat, Mar 05, 2011 at 04:48:17PM +0100, Greg Byshenk wrote: > >>

Re: Question about packages installed via `pkg_add -r`

2011-03-05 Thread Yue Wu
On Sat, Mar 05, 2011 at 08:46:47PM -0500, ill...@gmail.com wrote: > On 5 March 2011 20:14, Yue Wu wrote: > > On Sat, Mar 05, 2011 at 08:02:47PM -0500, ill...@gmail.com wrote: > >> On 5 March 2011 20:00, Yue Wu wrote: > >> > Hello, sorry for poor English, I will

luit -encoding gbk causes Segmentation fault (core dumped) in 9-stable

2011-09-27 Thread Yue Wu
from ports after upgrade from 8-stable to 9-stable, with the same compiling options. -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Department of Traditional Chinese Medicine China Pharmaceutical University(中國藥科大學) No.24, Tongjia Xiang Stre

Re: luit -encoding gbk causes Segmentation fault (core dumped) in 9-stable

2011-09-27 Thread Yue Wu
On Wed, Sep 28, 2011 at 10:17:54AM +0800, Adrian Chadd wrote: > On 28 September 2011 09:08, Yue Wu wrote: > > Hello list, > > > > As the title said. When on 8-stable, luit -encdoding gbk works fine, > > anyone can figure it out what's wrong? > > > >

Can't use wireless networking after upgrade the world recently

2010-11-12 Thread Yue Wu
eeded). any info is needed? plz let me know. Sorry for my poor English, plz let me know if I didn't describe clearly. -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Department of Traditional Chinese Medicine China Pharmaceutical University No.24, Tongjia Xiang Street, Nanjin

How to get suspend/resume work on IBM T60?

2010-11-15 Thread Yue Wu
Hi list, I'm using FreeBSD stable on IBM T60, `acpiconf -s 3` can let T60 into suspend mode, but then it can't be waked up anyhow. so my question is, anyone use FreeBSD on IBM T60 and make the suspend/resume work on it? -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines

Re: How to get suspend/resume work on IBM T60?

2010-11-19 Thread Yue Wu
On Tue, Nov 16, 2010 at 02:34:36PM +, Bruce Cran wrote: > On Tuesday 16 November 2010 14:31:39 Yue Wu wrote: > > > No, even the indicating light indicates the status is still in > > suspend, I have to press and hold the power key to power off. > > You'll prob

Re: How to get suspend/resume work on IBM T60?

2010-11-19 Thread Yue Wu
On Tue, Nov 16, 2010 at 02:12:23PM +, Bruce Cran wrote: > On Tuesday 16 November 2010 04:20:17 Yue Wu wrote: > > > I'm using FreeBSD stable on IBM T60, `acpiconf -s 3` can let T60 into > > suspend mode, but then it can't be waked up anyhow. > > > >

boot0cfg -B can't work

2010-12-05 Thread Yue Wu
BSD bsd.hasee.cpu 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Sun Dec 5 19:14:33 CST 2010 r...@bsd.hasee.cpu:/usr/obj/usr/src/sys/HASEE i386 -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Department of Traditional Chinese Medicine China Pharmaceutical University No.24, Tongjia Xi

Re: boot0cfg -B can't work

2010-12-05 Thread Yue Wu
an do it without changing the sysctl parameter, maybe it's changed in newer version. -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Department of Traditional Chinese Medicine China Pharmaceutical University No.24, Tongjia Xiang Street, Nanjing 210009, China _