List Info

Thread: Re: Infrared modems and NetBSD




Re: Infrared modems and NetBSD
user name
2007-07-27 06:21:29
	Hey,

Ben Secrest wrote:
> On 2007-07-25, Pierre Pronchery <khorbendefora.org> wrote:
>> is it currently possible to use infrared modems
with NetBSD?
> 
> Yes, I use it with my cellular phone to connect to the
Internet.

Now I am successful as well, see below.

>> I have successfully installed comms/birda. I am
using it like this:
>> # dmesg | grep com2
>> com2 at acpi0 (IBM0071)
>> com2: io 0x2f8-0x2ff irq 3 drq 3
>> com2: ns16550a, working fifo
>> # irdaattach -p -f -n /dev/tty02
> 
> Which device are you connecting to?  /dev/irframe0 or
/dev/ptyXX?  The
> ircomm program connects the irframe device to a
pseudo-terminal.  I
> typically invoke ircomm as:
> 
> $ ircomm -d /dev/irframe0 -y /dev/ptysf -m 9600 -Y
> 
> I can then use /dev/ptysf with cu to test AT commands,
pppd to obtain a
> packet-data connection or a SMS sending application.

It works if I tell ircomm to connect to say, ptysf (a
master), and then
cu to ttysf (slave to ptysf). Thanks!

-- 
khorben


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )