Re: Hi

2011-08-30 Thread Mihamina Rakotomandimby

On 08/30/2011 01:06 AM, Daniel Staal wrote:

FreeBSD may not be for you at this time.


I did not dare, but I agree with you for Spencer's case.

--
RMA.
___
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: to come from Linux to FreeBSD

2011-08-30 Thread Mihamina Rakotomandimby

On 08/24/2011 09:34 AM, Mihamina Rakotomandimby wrote:

I am from Linux (Debian & Ubuntu) and I will have to intensively use
FreeBSD on servers (DNS, Database, Routing...)

I would like to install a FreeBSD on my laptop (Dell Inspiron, or some
Asus not defined yet) and then virtualize a lot (KVM seems OK) in order
to get used.


From all the answers I got, the best solution for me is:
- run Linux as host
- virtualize FreeBSD as far as I intend to use it on Rack servers

Installing it directly as host would drive me to overhead.
Maybe after mastering "headless" administration I could try it on a laptop.

Anyway, thank you all for your advices and see you if I get the job! :-)


--
RMA.
___
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: wlan setup

2011-08-30 Thread PstreeM China
Did you load the drivers about wlancard? Make kernel yourself or edited
/boot/loader.conf to load drivers.
On Aug 30, 2011 9:36 AM, "Warren Block"  wrote:
>
> On Mon, 29 Aug 2011, Derek Funk wrote:
>
>> I followed the handbook and searched online but yet still unable to get
>> a wireless connection to an access point.
>>
>> I have in my rc.conf file:
>> wlans_ath0="wlan0"
>> ifconfig_wlan0="WPA DHCP"
>>
>> and in the wpa_supplicant.conf:
>> network={
>>  ssid="myssid"
>>  psk="mypassword"
>> }
>>
>> It associates but does not get an ip.
>
>
> Some cards take a long time to associate, and using synchronous DHCP
helps.
>
>  ifconfig_wlan0="WPA SYNCDHCP"
>
>
> ___
> 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"


editors/zim

2011-08-30 Thread Chris Whitehouse

Hi,

I have a problem with Zim which I wrote to the author about he replied 
and said;


"I'm afraid version 0.29 is no longer supported. This was the last 
version in

the Perl branch, since we moved to Python there have been already 10 more
releases. So please try the latest version (0.52)."

Are there any plans to bump it to Python and a recent release? I emailed 
the maintainer a while back but got no response.


thanks

Chris
___
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"


mini pci e wireless card

2011-08-30 Thread George Vagner
I am wondering what mini pci express (little tiny card) is the best, highest
power and best supported overall
For hostap mode.

I need to replace my rl3090 in my acer revo cause I don't see it as
supported and its
Not detected in my dmesg (8.2r) that I can see, I want to use it as an
accesspoint/router.

Thanks for all your help.

George
 

___
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: missing ORIGIN

2011-08-30 Thread Chris Brennan
On 8/30/2011 1:26 AM, Matthew Seaman wrote:
> On 30/08/2011 06:24, Matthew Seaman wrote:
>> On 30/08/2011 06:18, Chris Brennan wrote:
> 
>>> As you could imagine, it's pretty damned annoying, what can I do to make
>>> it go away (without uninstalling the HPT utilities?)
> 
>> touch +IGNOREME /var/db/pkg/hptraidconf-3.5
>> touch +IGNOREME /var/db/pkg/hptsvr-3.13
> 
> Dammit.  Too early.  Too little coffee
> 
> touch /var/db/pkg/hptraidconf-3.5/+IGNOREME
> touch /var/db/pkg/hptsvr-3.13/+IGNOREME
> 
>   Matthew
> 
> 

Thanks, that moved portmaster along.

-- 
> Chris Brennan
> --
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



signature.asc
Description: OpenPGP digital signature


Re: mini pci e wireless card

2011-08-30 Thread Warren Block

On Tue, 30 Aug 2011, George Vagner wrote:


I am wondering what mini pci express (little tiny card) is the best, highest
power and best supported overall
For hostap mode.


Atheros b/g only is probably the best supported.  Recent post:
http://lists.freebsd.org/pipermail/freebsd-questions/2011-August/232723.html
___
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: wlan setup

2011-08-30 Thread Derek Funk
On Mon, 2011-08-29 at 19:00 -0500, Derek Funk wrote:
> I followed the handbook and searched online but yet still unable to get
> a wireless connection to an access point.
> 
> I have in my rc.conf file:
> wlans_ath0="wlan0"
> ifconfig_wlan0="WPA DHCP"
> 
> and in the wpa_supplicant.conf:
> network={
>   ssid="myssid"
>   psk="mypassword"
> }
> 
> It associates but does not get an ip.
> 
> I works fine with Windows or with Ubuntu.
> 
> Any help is appreciated.
> 
> Derek


Drivers are loaded and I tried using SYNCDHCP instead of just DHCP in
rc.conf.
I even tried my own entry in devd.conf as shown in a google search.
But still it links to the access point but does not get an IP.

Derek

___
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"


random generated password

2011-08-30 Thread Michael

Hello,

When adding a new user it is possible to assign a random generated 
password. But is it possible to assign a random password for already 
existing users?


Preferably in a non-interactive and scriptable way. Is it possible with 
the base system tools?


Michael

___
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: random generated password

2011-08-30 Thread Mike Tancsa
On 8/30/2011 2:16 PM, Michael wrote:
> Hello,
> 
> When adding a new user it is possible to assign a random generated
> password. But is it possible to assign a random password for already
> existing users?

0(ich10)# pw useradd testuser1 -w random
Password for 'testuser1' is: oFPw9BPe
0(ich10)#


> 
> Preferably in a non-interactive and scriptable way. Is it possible with
> the base system tools?

0(ich10)# pw usermod testuser1 -w random
Password for 'testuser1' is: km.y0LScI3p1
0(ich10)# pw usermod testuser1 -w random
Password for 'testuser1' is: P5RrhmUl4Np2
0(ich10)#

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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: random generated password

2011-08-30 Thread Michael Sierchio
Presumably you're doing this to prevent direct login?

chpass allows root to set the encrypted password directly

chpass -p '$1$123456789$your-random-chars-here'


On Tue, Aug 30, 2011 at 11:16 AM, Michael  wrote:
> Hello,
>
> When adding a new user it is possible to assign a random generated password.
> But is it possible to assign a random password for already existing users?
>
> Preferably in a non-interactive and scriptable way. Is it possible with the
> base system tools?
>
> Michael
>
> ___
> 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"


Re: random generated password

2011-08-30 Thread Michael Sierchio
dd if=/dev/random count=1 | tr -c "[:alnum:]"
'0-9A-Za-z0-9A-Za-z0-9A-Za-a-z0-9A-Za-z'

will give you the right kind of characters to use, for example.

On Tue, Aug 30, 2011 at 11:32 AM, Michael Sierchio  wrote:
> Presumably you're doing this to prevent direct login?
>
> chpass allows root to set the encrypted password directly
>
> chpass -p '$1$123456789$your-random-chars-here'
>
>
> On Tue, Aug 30, 2011 at 11:16 AM, Michael  wrote:
>> Hello,
>>
>> When adding a new user it is possible to assign a random generated password.
>> But is it possible to assign a random password for already existing users?
>>
>> Preferably in a non-interactive and scriptable way. Is it possible with the
>> base system tools?
>>
>> Michael
>>
>> ___
>> 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"


Re: random generated password

2011-08-30 Thread Michael Sierchio
Sorry, typo in cut-and-paste.

# dd if=/dev/random count=1 | tr -c "[:alnum:]"
'0-9A-Za-z0-9A-Za-z0-9A-Za-z' ; echo
zNvPGEVzCZ0QQRMUjtzcJJXRlKNPfVFCTEol0pdPmGEyzFiEUx0PUjPYMdUUYklbKPICmhS9IJEnxg4aaLVojizk6bjznuvzfLfAR4dfzX4nKfNqCAmVR13LZ08aUZzGyxW2jWNV9oBDBhcPQRmC2nzoEtCIE2PQdS5V2FIixBKjrB05nDnwMAfjzpVKQ7ft4GUsXNyAve9OIl3PUUTecezldocgvWrSFfbI8ztXw9zP2Ka9Gu39jFULWbLYwqNfzDMVOy76nPEWA9DfeT5yUrSO9fSyREAes7XxSbYvcyuzahBdqBaySc4EIgRQDBFqRxJ6hzbY7dg98HtcQzoWSrCgf2SA6VJwLivtld3eCddIz5HZIjcHUqISzFXMLnOPszV627zGhOm5Ei7diTQbf8GZQ3ZD8r7yY2ao9Mbm9w16nCt5issPD2toxoKSdqaNWYHbTCqEhXineHmQPwX9z1qDFZkM7B20FecLS5ECKe8yH7iSlIiFDCbAbFNVJ1PP
#

I'll leave it to you to pick out 9 chars for the seed and 31 chars for
the rest, as in

$1$zNvPGEVzC$Z0QQRMUjtzcJJXRlKNPfVFCTEol0pdP


On Tue, Aug 30, 2011 at 11:34 AM, Michael Sierchio  wrote:
> dd if=/dev/random count=1 | tr -c "[:alnum:]"
> '0-9A-Za-z0-9A-Za-z0-9A-Za-a-z0-9A-Za-z'
>
> will give you the right kind of characters to use, for example.
>
> On Tue, Aug 30, 2011 at 11:32 AM, Michael Sierchio  wrote:
>> Presumably you're doing this to prevent direct login?
>>
>> chpass allows root to set the encrypted password directly
>>
>> chpass -p '$1$123456789$your-random-chars-here'
>>
>>
>> On Tue, Aug 30, 2011 at 11:16 AM, Michael  wrote:
>>> Hello,
>>>
>>> When adding a new user it is possible to assign a random generated password.
>>> But is it possible to assign a random password for already existing users?
>>>
>>> Preferably in a non-interactive and scriptable way. Is it possible with the
>>> base system tools?
>>>
>>> Michael
>>>
>>> ___
>>> 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"


Re: random generated password

2011-08-30 Thread Randal L. Schwartz
> "Michael" == Michael Sierchio  writes:

Michael> dd if=/dev/random count=1 | tr -c "[:alnum:]"
Michael> '0-9A-Za-z0-9A-Za-z0-9A-Za-a-z0-9A-Za-z'

Michael> will give you the right kind of characters to use, for example.

I prefer "openssl rand -base64 6" to get an 8-char password from a
fairly large set of sensible characters.  Each multiple of 3 results in 4
characters in the output.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: random generated password

2011-08-30 Thread Roland Smith
On Tue, Aug 30, 2011 at 07:16:00PM +0100, Michael wrote:
> Hello,
> 
> When adding a new user it is possible to assign a random generated 
> password. But is it possible to assign a random password for already 
> existing users?
> 
> Preferably in a non-interactive and scriptable way. Is it possible with 
> the base system tools?

Generating a random password can be done with the openssl in the base system;

openssl rand -base64 9

You'd want to pipe the output of this command through tee(1) and save it in a
file. Next you pipe it to a file discriptor leading to a 'pw usermod -h
0'. Something like this:

   openssl rand -base64 9 | tee -a newpasswords | pw usermod UID -h 0

where UID is the user-id or name of the user in question.


Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp91FVL1FP8P.pgp
Description: PGP signature


Re: random generated password

2011-08-30 Thread Michael Sierchio
That occurred to me, but it's a smaller alphabet.  Probably doesn't
matter if the purpose is to make login unusable.

On Tue, Aug 30, 2011 at 11:40 AM, Randal L. Schwartz
 wrote:
>> "Michael" == Michael Sierchio  writes:
>
> Michael> dd if=/dev/random count=1 | tr -c "[:alnum:]"
> Michael> '0-9A-Za-z0-9A-Za-z0-9A-Za-a-z0-9A-Za-z'
>
> Michael> will give you the right kind of characters to use, for example.
>
> I prefer "openssl rand -base64 6" to get an 8-char password from a
> fairly large set of sensible characters.  Each multiple of 3 results in 4
> characters in the output.
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
>  http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.posterous.com/ for Smalltalk discussion
>
___
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: random generated password

2011-08-30 Thread Pierre-Luc Drouin
If the purpose is to make login unusable, starring the password is the
only 100% safe way...

On Tue, Aug 30, 2011 at 2:42 PM, Michael Sierchio  wrote:
> That occurred to me, but it's a smaller alphabet.  Probably doesn't
> matter if the purpose is to make login unusable.
>
> On Tue, Aug 30, 2011 at 11:40 AM, Randal L. Schwartz
>  wrote:
>>> "Michael" == Michael Sierchio  writes:
>>
>> Michael> dd if=/dev/random count=1 | tr -c "[:alnum:]"
>> Michael> '0-9A-Za-z0-9A-Za-z0-9A-Za-a-z0-9A-Za-z'
>>
>> Michael> will give you the right kind of characters to use, for example.
>>
>> I prefer "openssl rand -base64 6" to get an 8-char password from a
>> fairly large set of sensible characters.  Each multiple of 3 results in 4
>> characters in the output.
>>
>> --
>> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
>>  http://www.stonehenge.com/merlyn/>
>> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
>> See http://methodsandmessages.posterous.com/ for Smalltalk discussion
>>
> ___
> 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"


Re: Tablet Digitizer

2011-08-30 Thread Warren Block

On Mon, 29 Aug 2011, Gary Dunn wrote:


I have studied that and the source to what seems to be a driver,
"fujitsu-usb-touchscreen."


This may be what you already have:
http://spareinfo.blogspot.com/2010/10/linux-on-fujitsu-u810-p1620-t1010.html

Whether it's trustworthy, compiles on FreeBSD, or works with xorg 7.5, 
don't know.

___
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: wlan setup

2011-08-30 Thread Warren Block

On Tue, 30 Aug 2011, Derek Funk wrote:


Drivers are loaded and I tried using SYNCDHCP instead of just DHCP in
rc.conf.
I even tried my own entry in devd.conf as shown in a google search.
But still it links to the access point but does not get an IP.


Check /var/log/messages for errors reported by wlan_supplicant.
___
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"


vpn using pptpclient in FreeBSD

2011-08-30 Thread Marco Beishuizen

Hi,

I'm trying to set up a vpn connection to the university library by using 
pptpclient. In other OS's this takes around 10 seconds, but in FreeBSD 
this seems very difficult to do, and I've no idea why. It looks like 
there is a connection made, but after a minute or two it just disconnects 
and still unable to access the vpn.


My ppp.conf is:
EUR:
 set authname "x...@.xx"
 set authkey "xxx"
 set timeout 0
 set ifaddr 0 0
 add vpn-eur-pptp.eur.nl HISADDR
 disable ipv6cp

The messages log says:
Jun  2 22:12:16 yokozuna pptp[40950]: anon log[main:pptp.c:314]: The 
synchronous pptp option is NOT activated
Jun  2 22:12:16 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]: 
Sent control packet type is 1 'Start-Control-Connection-Request'
Jun  2 22:12:16 yokozuna pptp[40955]: anon 
log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jun  2 22:12:16 yokozuna pptp[40955]: anon 
log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jun  2 22:12:17 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]: 
Sent control packet type is 7 'Outgoing-Call-Request'
Jun  2 22:12:17 yokozuna pptp[40955]: anon 
log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jun  2 22:12:17 yokozuna pptp[40955]: anon 
log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, 
peer's call ID 58282).

Jun  2 22:12:17 yokozuna kernel: tun0: link state changed to UP
Jun  2 22:13:17 yokozuna pptp[40955]: anon log[logecho:pptp_ctrl.c:677]: 
Echo Request received.
Jun  2 22:13:17 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]: 
Sent control packet type is 6 'Echo-Reply'
Jun  2 22:15:17 yokozuna pptp[40955]: anon 
log[pptp_handle_timer:pptp_ctrl.c:1050]: closing control connection due to 
missing echo reply
Jun  2 22:15:17 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]: 
Sent control packet type is 12 'Call-Clear-Request'
Jun  2 22:15:17 yokozuna pptp[40955]: anon 
log[pptp_conn_close:pptp_ctrl.c:430]: Closing PPTP connection
Jun  2 22:15:17 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]: 
Sent control packet type is 3 'Stop-Control-Connection-Request'
Jun  2 22:15:17 yokozuna pptp[40955]: anon 
log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jun  2 22:15:47 yokozuna pptp[40956]: anon 
warn[decaps_hdlc:pptp_gre.c:204]: short read (0): No buffer space 
available

Jun  2 22:15:47 yokozuna kernel: tun0: link state changed to DOWN

After a lot of searching and googling I never found the answer. Has anyone 
here succeeded in setting up a working pptp vpn connection?


Thanks in advance,
Marco

--
Kiss me twice.  I'm schizophrenic.
___
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"


editors/zim

2011-08-30 Thread perryh
Forwarding to ports@, which seems more likely to yield an answer to
this particular inquiry than questions@

Please keep the OP, who is probably not subscribed to ports@, in the
Cc: list.



Date: Tue, 30 Aug 2011 13:52:12 +0100
From: Chris Whitehouse 
To: User Questions 
Subject: editors/zim

Hi,

I have a problem with Zim which I wrote to the author about he
replied and said;

"I'm afraid version 0.29 is no longer supported. This was the last
version in the Perl branch, since we moved to Python there have been
already 10 more releases. So please try the latest version (0.52)."

Are there any plans to bump it to Python and a recent release?
I emailed the maintainer a while back but got no response.

thanks

Chris
___
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"


Is there way to get filename for specific LBA?

2011-08-30 Thread Ross
Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error
(retrying request) LBA=107491647


#  dd if=/dev/ad6 of=/dev/null bs=1m seek=107491647 count=1
dd: /dev/null: Inappropriate ioctl for device

Another question: why does it fail?


# dd if=/dev/ad6 of=/var/tmp/ bs=1m seek=107491647 count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.026658 secs (39334650 bytes/sec)

So no errors. I looked at bsdlabel — it's partition f, /home. But what
is the file name?
___
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: wlan setup

2011-08-30 Thread Chris Hill

On Tue, 30 Aug 2011, Derek Funk wrote:


On Mon, 2011-08-29 at 19:00 -0500, Derek Funk wrote:


[ ... ]

Drivers are loaded and I tried using SYNCDHCP instead of just DHCP in
rc.conf.
I even tried my own entry in devd.conf as shown in a google search. But 
still it links to the access point but does not get an IP.


Not to belabor the obvious, but do you have a working DHCP server 
available to the WAP?


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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 way to get filename for specific LBA?

2011-08-30 Thread perryh
Ross  wrote:

> Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error
> (retrying request) LBA=107491647

That message is reporting a problem in communication between the
drive and the controller (or, perhaps, between the controller and
main memory), not a problem reading the media, so the LBA is likely
not all that useful (esp. since, if you got no other messages, the
retry succeeded so no data was lost).

What does

  egrep 'ad[0-9]|ata' /var/run/dmesg.boot

report?

> #  dd if=/dev/ad6 of=/dev/null bs=1m seek=107491647 count=1
> dd: /dev/null: Inappropriate ioctl for device
>
> Another question: why does it fail?

seek= applies to the output file, so it tried to do a seek on
/dev/null :)  You probably wanted skip= (or iseek=).
___
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"