Bezeq's ADSL and FreeBSD

2001-11-16 Thread Nimrod Mesika

Did anyone have any success making FreeBSD work with Bezeq's ADSL
service?

-- 
Nimrod.



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: SMB

2001-01-20 Thread Nimrod Mesika

On Sat, Jan 20, 2001 at 07:00:30PM +0200, Oren Held wrote:
  Hi,
  I have SMB installed and configured successfully in my Linux box, but, when 
  want to get in the shared directories from my windows computer ( I can see 
  the shared directories) but I cant get into them. windows asking for 
  password and when Im typing the password for the User that shared his 
  directories, smb gives me error:
  "The password is incorrect. Try again".  In the smb.conf file I did 
  encrypted passwords = no and security = share ( I know its not secure but 
  this is for the test). and its still not working.
  this smb.conf file worked for me last time on another computer. I just 
  copied this file and there shouldnt be problems. what can I do, please?

Not sure about your Windows version, but if you use NT or 2000 you
need to update its registry to use plaintext passwords. Setting
'encrypted passwords=no' in smb.conf is not enough. The necessary
registry files (for NT4 and 2000) are available as part of the Samba
distribution.

-- 
Nimrod.
http://www.geocities.com/rodd_27

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: external ISDN

2000-09-10 Thread Nimrod Mesika

On Sat, Sep 09, 2000 at 10:55:50PM +0200, Mike Almogy wrote:
 Hi list.
 
 Do i need any drivers for external ISDN device ?
 I'm connecting it to the com1/com2 port.
 I do not need any driver for regular modem, right ?

Well, you have to send some init string to your terminal adaptor
(that's how an 'external ISDN device' is called). It sets various
line properties: sync/async, data rate, etc.

If you have drivers for Windows, check the initialization string
they use.

Other than that - no kernel modules or anything like that is
needed. Oh - and you use the standard ppp daemon not the synchronous
pppd that internal ISDN adaptors need.

Last advice: setting the correct parameters might be difficult and
depends, of course, on the ISP configuration. Some POPs (=telephone
numbers) may be configured differently. We had to connect to
Bezeqint once and never could make it work with one of their numbers
(640. Only 136363 worked. Go figure...)


-- 
Nimrod.
http://www.geocities.com/rodd_27

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Sound Alerts

2000-09-05 Thread Nimrod Mesika

On Mon, Sep 04, 2000 at 06:00:42PM +, Subba Rao wrote:
 Now, when I tried to set off 3 alerts at the sametime, I get the following
 message,
 
 sox: Can't open output file '/dev/dsp': Device or resource busy

OSS is a simple system. Only one process can open /dev/dsp at any
time. So if one process sounds the alarm and you run sox again
(Trying to open /dev/dsp again) you will get the error 'resource
busy'.

What you can do, is have one master process control /dev/dsp, and
other processes asking the master to sound the alarm for them. The
master can either queue or mix the sounds. I believe ESD
(Enlightened Sound Daemon, aka ESounD) can mix several sources but
it doesn't provide an OSS interface - you have to use a special
library.

You might also want to check out ALSA (Advanced Linux Sound Arch. -
a replacement for the OSS drivers.) ALSA is supposed to let several
users open the sound device at the same time but I'm not familiar
with it.

Better yet, just ignore the error message and go check the machine
when it sounds the alarm :)  

-- 
Nimrod.
http://www.geocities.com/rodd_27

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Syslog messages to a remote machine

2000-08-28 Thread Nimrod Mesika

On Mon, Aug 28, 2000 at 01:42:03AM +0300, guy keren wrote:
 
 On Sun, 27 Aug 2000, Boaz Rymland wrote:
 
  I'm trying to set a server machine to send it's syslog messages to my machine.
 
 just for general info: remote syslog is done by sending messages using
 UDP, without any packet received acknowledgement or retransmission. thus,
 if a logging packet is lost - the log message will be lost without any
 sign for that. this is not recommended for a production system, if the
 logs are important.

How about setting an ssh tunnel? You get both reliability and
encryption.

-- 
Nimrod.
http://www.geocities.com/rodd_27

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Syslog messages to a remote machine

2000-08-28 Thread Nimrod Mesika

On Mon, Aug 28, 2000 at 08:21:29PM +0300, guy keren wrote:
 ssh tunnel between whome and what? you'll need a very strange setup,
 since, as far as i know, ssh does not support forwarding of UDP
 ports/packets...

Ok. Missed that one ;)

So just add a "udp over tcp" tunnel. Should be pretty easy to write
one yourself but I'm sure someone already did that.

-- 
Nimrod.
http://www.geocities.com/rodd_27

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: ADSL experiment

2000-08-18 Thread Nimrod Mesika

On Fri, Aug 18, 2000 at 02:09:33PM +0300, [EMAIL PROTECTED] wrote:
 The other possibility would be to hook up a WIN98 machine on my home
 network. I assume it shouldn't be to difficult to then share the INTERNET
 connection with my LINUX box (using SAMBA ???) but I have no idea of how
 it's done.

You might want to check out a Windows software by the name of
'WinGate': http://WinGate.deerfield.com/

Never tried it myself, though.

-- 
Nimrod.
http://www.geocities.com/rodd_27

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Hebrew Netscape

2000-05-13 Thread Nimrod Mesika

This may be old news to some of the people reading this list, but
still...
IBM has released a version of Netscape 4.61 that supports logical
hebrew:

http://news.netking.com/News/Year2000/Month5/N753.asp

That specific page refers to the Windows version. Anyone knows if a
Linux version
is expected soon? (or not expected at all...)

-- Nimrod.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: batch renaming

2000-02-29 Thread Nimrod Mesika

  What is the simplest way to do such renaming ?
  I have many file with the same preceding string in their name.
  I want to remove that.

You might want to check 'mmv' (you can find the package on redhat's
contrib archive). mmv lets you write:

mmv '*.yyy.*' '#2.xxx.#1'

You can probably guess what that means. Just a small and useful package.

--Nimrod.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Interface status detection

1999-12-21 Thread Nimrod Mesika

"Muli B.Y." wrote:
 
 Thanks for the suggestions, Nimrod, I have implemented the
 online/offline thing this way. Shame on me for not having read the FAQ
 (where this stuff is mentioned) for quite some time.
 
 Nevertheless, it was a good excersize and my original question stands:
 Windows has RasConnectionNotification(). What does linux have except
 constant polling?

Oh well.. seems like I have to correct myself again ;)

Linux *does* support such notifications. Kernel 2.2 introduced Netlink
sockets and routing messages (these are compile-time options - look at
the networking options when you compile your kernel).

Your process will be notified of any routing table changes, interface
up/down events, etc. I believe you can ask to be notified of certain
events only. Not sure, though. It looks a bit complicated, and
definitely lacks good documentation but have a look at the 'iproute2'
package for an example. Get it from:

ftp://ftp.inr.ac.ru/ip-routing/

build it and try (as root):
/ip monitor all  

now try on another terminal: '/sbin/ifconfig lo down' and look at the
monitor's output.

Still, it's a complicated solution and the process has to have NET_ADMIN
capabilities or root uid. Seems like this interface was designed
primarily for routing daemons.

-- Nimrod.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Interface status detection

1999-12-21 Thread Nimrod Mesika

Gaal Yahas wrote:
 
 On Mon, Dec 20, 1999 at 11:47:14PM +0200, Nimrod Mesika wrote:
 
  nimrodm:~$ cat /etc/ppp/ip-up.local
 What happens when licq isn't running and reading the pipe?
 Unless I'm mistaken, your ip-*.local scripts would block, which
 is probably not what you want.

True. It's a bug. KDE fires up licq automatically so I have never
noticed this bug. Now how do we fix it (without checking for a process
named 'licq' or anything like that. How do you make sure a fifo has
someone on the other end?)

 Also, what does putting the data on a pipe get you? The process
 would still have to poll the pipe, wouldn't it?

Not quite. The process will block on read() and will not use the cpu
until data is available. Licq is a threaded app, so blocking one thread
will leave the others running.

-- Nimrod.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Interface status detection

1999-12-20 Thread Nimrod Mesika

Alex Shnitman wrote:

 As to your first suggestion, maybe there's even a better way -- have
 licq install signal handlers for e.g. SIGUSR1 and SIGUSR2, switching
 it online in the former and offline in the latter, and then have the
 ip-up script killall -USR1 licq and the ip-down script killall -USR2
 licq. It should be pretty easy to implement, and although it won't be
 very robust, it'll work.
 

nimrodm:~$ cat /etc/ppp/ip-up.local
#!/bin/sh
echo 'status online' /home/nimrodm/.licq/licq_fifo
nimrodm:~$  

nimrodm:~$ cat /etc/ppp/ip-down.local
#!/bin/sh
echo 'status offline' /home/nimrodm/.licq/licq_fifo
nimrodm:~$  

That's how it's done for Licq ($HOME/.licq/licq_fifo is a named pipe).


As for having the kernel notify the process about a NETDEV_UP and
NETDEV_DOWN events - I don't think Linux can do that (at leat not kernel
2.2) but it might be worth posting to the kernel mailing list
([EMAIL PROTECTED]). Might be a worthy addition to raw
packet(4) sockets.

-- Nimrod.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Experience with 18G IDE HD

1999-12-17 Thread Nimrod Mesika

Evgeny Stambulchik wrote:

 As far as performance is considered, it's not RPM that usually matters (inspite
 of a big hype), but the amount of cache on disk. Until recently (1-2 years), the
 maximum cache on IDE disks was 128KB, while about each SCSI disk had 0.5MB.

How come? The OS cache is much bigger (at least several MB). I thought
that a level-2 cache has to be bigger to have any effect? If the block
was not found in the OS cache, how can you expect to find it in the
drive's cache?

mmm.. maybe it's the read ahead and write back buffers that make the
difference? A drive with a large buffer can get much more work done by
itself without involving the OS.. maybe.

-- Nimrod.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Experience with 18G IDE HD

1999-12-15 Thread Nimrod Mesika

Boaz Rymland wrote:
 I have a WD 9.GB disk with a Promise PCI controller (the HD brand is
 irrelevant, I believe as its the controller and it's driver that
 matters).

Ah.. I wish that was true. ATA/66  (as most new standards) still has
some compatibility problems. Some controllers will only work with
certain drives. My onboard HPT366 controller (ABIT's BP6 board) wouldn't
work with a Fujitsu drive I had. I got a Maxtor and everything is
working fine (well.. almost. Linux SMP implementation is still not
100%).

Anyway, the point is you have to patch the kernel to support  ATA/66
controllers (and I'm sure not all are supported.. better check it out
yourself). This makes installation much more difficult of course.


As for speed... hdparm -t /dev/hde gives me about 22MB/sec with UDMA66
enabled (this is a cheap 5400 rpm drive). When disabled, speed drops to
about 10MB/sec. Note that I have seen UDMA33 drives that go as high as
15MB/sec. Go figure...

How much of that advantage will you see in real applications? I guess it
depends on your usage pattern.

-- Nimrod.

p.s. The current drive is 8GB. Logical geometry: 1024/255/63.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Preemptive ?

1999-12-07 Thread Nimrod Mesika

Iftach Hyams wrote:
 
 Is Linux preemptive ?
 Does anyone know about a site about Linux and embeded systems ?

Linux is just starting to shake the embedded systems market...
You might want to look at:


http://www.linuxdevices.com/
http://www.prosa.it/embedded/etlinux/
http://www.embedlinux.net/
http://www.emlab.org/


and of course, Cygnus (www.cygnus.com) has some interesting stuff too.

-- Nimrod.


p.s. What do you mean by preemptive? Linux has, of course, preemptive
scheduling (as opposed to cooperative scheduling). What you may be
looking for is a 'hard' real-time scheduler. 'Official' Linux kernel
does not support hard real time but there is RT-linux (www.rtlinux.org).
Cygnus' ecos (a gpl'ed realtime microkernel) may support a subset of the
Linux API too (one day :-)

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



FreeBSD

1999-11-30 Thread Nimrod Mesika

I'm interesting in comparing FreeBSD's SMP performance to Linux.
Anyone has a FreeBSD 3.3 CD that I can duplicate (or willing to do that
for me)?

-- Nimrod.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: HPT366 UDMA66 controller

1999-11-08 Thread Nimrod Mesika

 I am using the HPT366 controller with Linux 2.2.13pre17 right now
 without problems.
 Patches for the final 2.2.13 have been available for a long time already
 -- almost 24 hours ;-)
 Get them at:
 
 ftp://ftp.il.kernel.org/pub/linux/kernel/people/hedrick/ide.2.2.13.19991102.patch.gz
 
 Gavrie.

Thanks - the patch works.

I'm sending this to the list to share my experience with this rather
new(?) technology.
BEWARE! UDMA66 still has some compatibility problems. I had a Fujitsu
8GB UDMA/66 disk that was correctly detected as UDMA/66 by the HPT366
controller (on Abit's BP6 board), but failed all DMA tests. Now I'm
using a Maxtor 90871U2 which performs 10x better!


-- Nimrod.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



EtherJet PCI

1999-09-17 Thread Nimrod Mesika

Anyone had any luck with IBM's EtherJet PCI NIC? This nic is using the
Intel chipset supported by the eepro100 driver... In fact, it is
possible to load the module and configure the interface, but when/if one
make any attempt to send some data, the system hangs! No OOPS, no
messages in any log file... just dead.

This card is installed in an IBM PC-300PL, Celeron 333 with RedHat 6.0
(kernel 2.2.5). I will try 2.2.12 soon, but thought I'd ask first...
well?

-- Nimrod.

P.S.  The above machine uses S3-Trio3D which is not currently supported
by XFree86 3.3.5 or any one of the SuSE X-servers. Any pointers towards
making X work on this machine will be appreciated.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]