Wireless networking with DHCP tickets

2004-02-26 Thread Tiarnan O'Corrain
Hello--

I'm trying to use a hotel wireless network effectively. I can connect
perfectly, and surf/do email, and so forth. However, I have to 
re-authenticate to the server every 2 minutes (the length of
DHCP lease handed out).

According to Orange WiFi, this is because the DHCP server sends
some kind of a keep-alive ticket to the client every 2 minutes, and
if the client does not respond, the lease is revoked.

This functionality seems to rely on some non-standard features of the
Microsoft Windows 2K/XP dhcp client, or wireless networking driver,
since the same problem occurs on Macs and Linux.

My question is -- has anyone heard of this kind of setup before? The
drill is, one purchases a scratch card from the hotel test with a
username/password pair, that is valid for a certain amount of
time (e.g. 14 hours). Has anyone succeeded in getting authentication
to stick with FreeBSD in such a configuration?

Regards

Tiarnan O Corrain

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wireless networking with DHCP tickets

2004-02-26 Thread Tiarnan O'Corrain
Dirk-Willem van Gulik [EMAIL PROTECTED] writes:

 On Feb 26, 2004, at 10:47 AM, Tiarnan O'Corrain wrote:

 According to Orange WiFi, this is because the DHCP server sends
 some kind of a keep-alive ticket to the client every 2 minutes, and
 if the client does not respond, the lease is revoked.

 This is rather normal; and unless you have some firewall set up too
 strict works just fine with macosx/freebsds normal dhclient. See
 RFC3202 (the newer force-renew) and RENEWING/REBINDING in rfc 2131.

Alas, it does not work, and Orange WiFi have also had calls from
MacOS X people who can't get this to work. So I imagine the problem is
slightly different.

Authentication is done through a web-browser, whither one is
directed after logging on for the first time. When the lease is
revoked, all network services are blocked until authentication
details are entered through the web-browser again.

I am not running any firewall software on this laptop.

Also, probably should have mentioned:
~(0)% uname -mnrs
FreeBSD epiphyte 4.9-STABLE i386

Tiarnan O Corrain

=
Tiarnan O Corrain
(on-site at Vodafone NL
desk phone: +31 433 554 161
mobile: +31 627 404 866
email:  [EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/dsp inaccessible

2003-08-20 Thread Tiarnan O'Corrain

--- [EMAIL PROTECTED] wrote:
 unfortunately, i don't have an *.raw files to try so i simply tried
 to cat somefile.wav  /dev/dsp  (and also to /dev/audio)
 both produce sound a screeching sound reminiscent of japanese noise
 bands   :)

That's good sign! It shows the device is configured. Do any of
the command-line tools work... mpg123 c? Try setting the
sound device explicitly (eg mpg123 -a /dev/dsp foo.mp3). Try
it also as root.

 cat /dev/sndstat
 FreeBSD Audio Driver (newpcm)
 pcm0: ESS Technology Maestro-2E at I/O port 0x1400 irq 5 (4p/0r/4v
 channels duplex)

~(0)% cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: ESS Technology Allegro-1 at io 0x3000 irq 5 (4p/1r/0v channels
duplex)

There was a post yesterday explaining this. Apparently the driver
doesn't support recording (yet).

It seems to me that the driver is working, and that your problems
are somewhere higher in the stack.

Tiarnan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/dsp inaccessible

2003-08-19 Thread Tiarnan O'Corrain
--- [EMAIL PROTECTED] wrote:
 Hello Tiarnan,
 
 Thanks for your input.  I had already turned off the PNPBIOS option. 
 I tried your
 suggestion of recompiling with:   
 
 options PCI_ENABLE_IO_MODES
 
 Judging by dmesg, it made no difference.  It also did not allow any
 of the software to access /dev/dsp.  Same error messages as 
 described in first post.

Try using MAKEDEV to remake the dsp devices, and check the 
permissions. Can you play any sound through the device node?
E.g. cat blah.raw  /dev/dsp ?

I had a similar tussle with a Maestro 3 on a HP laptop, but it
worked in the end. It can be done...

I've attached my kernel configuration and loader.conf. 

You might try using using the snd_maestro3_load=YES instead
of maestro in /boot/loader.conf. Maestro3.c is a driver
for Allegro cards, perhaps a closer fit for your 2E.

device sbc is unnecessary in your kernel config.

Tiarnan


EPIPHYTE
Description: EPIPHYTE


loader.conf
Description: loader.conf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/dsp inaccessible

2003-08-18 Thread Tiarnan O'Corrain
Hello,

try recompiling your kernel with 

options PCI_ENABLE_IO_MODES

set. This sorted out my problems with that card.

Hope this helps

Tiarnan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/dsp inaccessible

2003-08-18 Thread Tiarnan O'Corrain
Hi,

apologies for replying to my own message, but an additional
point... turn off PNPBIOS, and make sure that your BIOS
is set to non PNP operating system.

T
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Automount from a Solaris NIS server possible?

2002-12-03 Thread Tiarnan O'Corrain
Hello--

I'm running FreeBSD 4.7-STABLE and have managed
(after some difficulty), to get it to bind to a Solaris
NIS server we have here. All NIS users can log on
now, but I can't figure out how to get home 
directories automounted when users do log in.

I tried a couple of things on the web, an awk
script to transform the Solaris auto.home, to
amd syntax, and it seems to work fine, except that
no home directories are mounted when NIS users
log in.

I'm hoping for a silver bullet solution! Here are some
relevant bits:

# cat /etc/amd.conf
[ global ]
auto_dir = /net
log_file = /var/log/amd
log_options = all
search_path = /etc/amdmaps

[/net]
map_type = nis
map_name = amd.nis

 From the amd.nis map
/defaults  
opts:=rw,grpid,intr,rsize=8192,wsize=8192,resvport;type:=nfs
username host==nlattp6sfs1;type:=link;fs:=/volumes/home/toostenburg
host!=nlattp6sfs1;os!=netbsd1;type:=nfs;rhost:=nlattp6sfs1;rfs:=/volumes/home/toostenburg
host!=nlattp6sfs1;os==netbsd1;type:=nfs;opts:=rw,grpid,intr,resvport,proto=udp,vers=2;rhost:=nlattp6sfs1

It seems that amd is not picking up NIS logons.

Any ideas?

Cheers

Tiarnan


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message