Re: Strange pptp-linux problem

2003-02-08 Thread Amit Margalit
Hi Eliran,

Do you have 'debug' in your /etc/ppp/options? Also, can you post your
/etc/ppp/options ?

This file can cause all sorts of trouble with pppd if not configured properly.

Amit

Eliran wrote:

 Dani Arbel wrote:

 There isn't pptp-linux and/or pptp-adsl .
 There is only pptp .
 
 MDK9 CD1 has a package called pptp-adsl not pptp.
 The pptp MDK has is completly different than the one in Amir Tal's
 tar.gz package

 Try to understand the debug info and correct your setup. Anyway, since your
 station started the LCP stage of ppp , it means that pptp works fine, and it
 is ppp that fails.
 
 I installed ppp separatly, after the installation.

 =
 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]


=
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: How to type Hebrew in RedHat 8.0? Hard to RTFM due to broken links

2003-02-08 Thread Henry Ficher
Omer Zak wrote:


I have installed RedHat 8.0, and I would like to be able to type and read
both English and Hebrew.
Like a good and nice RTFMer, I surfed to the IGLU FAQ.
The question Where can I find information about Hebrew support in Linux?
in http://www.iglu.org.il/faq/cache/48.html leads to broken links in
HebLocale page and Heb-gtk.

So can a kind soul, who got Hebrew to work under Gnome, please come up and
post a working URL to an HOWTO, which describes what he did?
   Thanks,
 

This URL was posted recently on the list. It's all you'll ever need:

http://jem.ascender.com/eitan/

Cheers

Henry




=
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]




IP-masq

2003-02-08 Thread Eran Levy
When Im trying to insmod the ip_conntrack_* modules, Im getting the answer 
Device or Resource busy.
Iptables/ipcahains werent compiled in the kernel?


=
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]



Networking and Cables

2003-02-08 Thread Eran Levy
I Cant get answer for this:
How can you network computers when you want that your server will connect 
to the internet via cables  connection?
The server needs to use the DHCP option to connect the cables and then you 
cant give the server an IP, etcIf you give the server IP and domain you 
cant connect to the internet with cables because you arent using DHCP...
So...How can you make a network that the server connects to the internet 
with cables and the clients connects to the server for getting internet 
connection?

Is there any way to get a network at this kind of situation?


=
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: Networking and Cables

2003-02-08 Thread Yedidyah Bar-David
On Sat, Feb 08, 2003 at 03:05:19PM +0200, Eran Levy wrote:
 I Cant get answer for this:
 How can you network computers when you want that your server will connect 
 to the internet via cables  connection?
 The server needs to use the DHCP option to connect the cables and then you 
 cant give the server an IP, etcIf you give the server IP and domain you 
 cant connect to the internet with cables because you arent using DHCP...
 So...How can you make a network that the server connects to the internet 
 with cables and the clients connects to the server for getting internet 
 connection?
 
 Is there any way to get a network at this kind of situation?

At least pump and dhcpcd (and I guess almost all dhcp clients) can run
on a specific interface. I do not know how this fits to the framework
of your distribution, but if you know what you do you can always replace
the script that does that (usually /etc/init.d/network) with a few
lines of your own (and you probably should, for a non-trivial machine).

Didi

 
 
 =
 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]

=
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: Networking and Cables

2003-02-08 Thread Amit Margalit
Hi,

There are 2 issues here, IMHO:
1. Having an internet connection through ADSL/Cable together with a local LAN.
2. Having the rest of the Internet know your dynamically changing IP address
under one name.

#1 is too difficult to explain on one foot, as we say.
#2 is just a matter of finding a DNS hosting organization that will put your
domain name on their servers, let you change the IP address associated with
your domain name, and place a TTL (time to live) of about 60 seconds on the A
records.

I suggest you take a look at :

www.dyndns.org
www.afraid.org

There is a great resource on dynamic DNS: http://www.technopagan.org/dynamic/

This solves #2 completely, and can be totally free. I use both of the above.

Email me directly if you want more info.

Amit

Eran Levy wrote:

 I Cant get answer for this:
 How can you network computers when you want that your server will connect
 to the internet via cables  connection?
 The server needs to use the DHCP option to connect the cables and then you
 cant give the server an IP, etcIf you give the server IP and domain you
 cant connect to the internet with cables because you arent using DHCP...
 So...How can you make a network that the server connects to the internet
 with cables and the clients connects to the server for getting internet
 connection?

 Is there any way to get a network at this kind of situation?

 =
 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]


=
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]




KCrorn

2003-02-08 Thread Amichai Rotman
Hi Clan,

I am trying to run a cron job to use the record command as follows:

KDEDIR/bin/konsole -e /usr/bin/record -cv -t 00:15

I am using KCron, so it will be easier, but I get errors. When I choose to Run 
Now in  KCron, it runs perfectly: Opens a Konsole terminal with the record 
app and exits normaly. When waiting for the designated time it doesn't. The 
user runing it gets an e-mail saying:

konsole: cannot connect to X server

I know it works. I even re-started the crond service.

Any ideas?

10x,

Amichai.

=
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]




MAndrake / Red Hat Rep in Israel

2003-02-08 Thread Amichai Rotman
Hi Clan,

Any of you know who represents Red Hat and Mandrake in Israel (if any exist 
for Mandrake. I am sure Red Hat has a Rep).

I would like to contact them in regard of the InstaParty...

Thanks,

Amichai.

=
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: KCrorn

2003-02-08 Thread guy keren

On Sat, 8 Feb 2003, Amichai Rotman wrote:

 Hi Clan,
 
 I am trying to run a cron job to use the record command as follows:
 
 KDEDIR/bin/konsole -e /usr/bin/record -cv -t 00:15

why are you trying to run an X application from within cron? just tell it 
to run the 'record' application directly, without the konsole, and see 
what it does.

ofcourse, make sure 'record' records into a file, and a different file at 
each run (unless you want each run to override the previous run).

note that yo need to make sure that the user running 'record' has access 
to the /dev/dsp device (the sound device) no matter who is logged into the 
console, and even if no one is logged into the console. by default, 
distributions tend to set the ownership of /dev/dsp to the user that's 
logged into the console, or to 'root' when no one is logged into the 
console. you'll probably have to either change the group of the device and 
add the user with the cron job to this group, or something else.

note also that you'll have problems with this because KDE 'takes over' the 
/dev/dsp device, when it is running, and at that time, 'record' will 
probably fail opening /dev/dsp - and will need to be run using the kde 
program that simulates /dev/dsp for non-kde applications (i forgot this 
program's name).

note that if your purpose is more limited, you might be able to get away 
with doing only a small part of this setup - just remember that the 
environment of a process running under 'crond', is not the same as that of 
processes you run from within your console.

-- 
guy

For world domination - press 1,
 or dial 0, and please hold, for the creator. -- nob o. dy


=
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: OT: PROG question: regarding returning errors in libraries

2003-02-08 Thread linux_il
 From: Oleg Goldshmidt
 I dislike errno-like global error codes - they are too easy to
 overwrite and too easy to forget to check thoroughly (since they exist
 sorta independently from the functions).
 
 I much prefer returning an error/success code from functions. Among
 other things, I consider it useful that it strongly encourages, if not
 strictly enforces, actually checking the bloody code after you call
 the function.

Nope.  I've seen tons of code where function return codes were not
checked and then people just don't understand why things don't work
(typical undeveloper phenomena - they keep assuming things just work,
funny busterds :).

Exceptions are the best way to force handling of errors. They can
also convery lots of useful data (full objects) as well as use error
hierarchy (e.g. a file-related exception type from which a file open
failed because the path contained an unreadable component exception
can be created).

--Amos

=
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: Networking and Cables

2003-02-08 Thread Eddie Aronovich


On Sat, 8 Feb 2003, Eran Levy wrote:

 I Cant get answer for this:
 How can you network computers when you want that your server will connect 
 to the internet via cables  connection?
Conenct to a ISP via cable modem and configure it :-)
 The server needs to use the DHCP option to connect the cables and then you 
 cant give the server an IP, etcIf you give the server IP and domain you 
 cant connect to the internet with cables because you arent using DHCP...
 So...How can you make a network that the server connects to the internet 
 with cables and the clients connects to the server for getting internet 
 connection?
While activating the ppp, there is a posibility to define default gateway. 
That default gateway replace the default gateway as long as the the 
connection is active.
 
 Is there any way to get a network at this kind of situation?
Certainly.
There are 2 different posibilities:
1. The cable modem can (or can be configured to) have independent IP 
address and can be cnnected to a hub or switch. In that case we are 
talking about 2 different networks: The internal network and the external 
network.
The internal network would use only reserved IP addresses (that is 
the scope for which it was developed). You can use 10.X.Y.Z 
(where is x,y,z = 0-255), or 192.168.100.X, 169.254.X.Y, etc. 
In every class you can find the reserved address scope.

The external network is the internet. Your modem will have one leg 
(interface with IP address) on the internal network and one on the 
external network. We assumed that the modem will run ppp or any 
other protocol to conenct to the internet and the interface on the 
exteral network would get its IP from the ISP. The other interface 
can run the DHCP and would get an address from the internal DHCP 
server. On ADSL Alcatel speed touch modem, you can run DHCP 
server which will give internal addresses to all other computers.

The modem will activate as router and as NAT server, and would be 
the default gw.

2. We assume the modem has no interface that can get an IP address (it is 
connected to the server using USB, PCI, etc. In this case the computer the 
modem is connected to have IP address for the PPP (or the cable 
dialer) that is configured only when the connection to the internet is 
started and an other IP address which is internal. The internal network 
address can be configured to be givven by internal DHCP server.

In this configuration the modem have to be shared, wehich mean 
the server is used as router and NAT server. In order to make the 
needed configurations, please look at mulix and Dr. Arbel 
adsl-howto, there you can find a lot of stuff.

The server will be the default gw for all the computers in the 
network.


more details on http://homepage.ntlworld.com/robin.d.h.walker/cmtips/
Mulix adsl site: http://www.mulix.org/adsl-howto.txt
http://www.linuxheadquarters.com/howto/networking/cablemodem.shtml

Good luck,
Eddie
 
 
 =
 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]
 


=
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: xkb handling in upcoming 4.3.0

2003-02-08 Thread Tzafrir Cohen
On Sat, 8 Feb 2003, Meir Kriheli wrote:

 Hetz Ben Hamo wrote:
  On Friday 07 February 2003 15:41 pm, Meir Kriheli wrote:
 
 Looks like keyboard handling in xfree 4.2.99.4 (STB 4.3.0) has changed.
 
 Couldn't get it to work the old way using:
 
 Option XkbLayout  il
 Option XkbOptions grp:switch,grp:shift_toggle,grp_led:scroll
 
 
  You should add your primary keyboard, so instead of il, it should be: us, il
 
  Thanks,
  Hetz

 Thanks, I'll check it out.

 BTW, Is it wrong using the other way, which worked for me ?

 reminder:

   Option XkbCompat group_led
   Option XkbSymbols us(pc104)+il+group(ctrl_shift_toggle)+group(switch)

Because you're using low-level options, and those have changed even more:

try something like:

 Option XkbCompat  group_led
 Option XkbSymbols pc/us(pc104)+pc/il+group(ctrl_shift_toggle)+group(switch)
  

But better still, use XkbOptions and XkbLayout :

  Option XkbLayout  us,il
  Option XkbOptions grp:switch,grp:ctrl_shift_toggle,grp_led:scroll


For more information, see the exiting English documentation:

  http://www.tsu.ru/~pascal/en/xkb/


There is some more complete Russian near by:

  http://www.tsu.ru/~pascal/other/xkb/


both of which are not yet up-to-date to XFrree 4.3 though, I believe)


Two other notes:

* the reason for this change is to make keyboard configuration in linux
easier. There is still the limit of 4 layouts (groups) that is probably
not going away anytime soon, but this change has made X keyboard
configuration much more sane. At least if you want to configure something
like English+Russion+Hebrew or English+Hebrew+Arabic . This should also
hopefully allow kxkb work in a more sane mode of operation with new XFree
X servers .

* Another small change with XFree 4.3: (){}[] . All of those eight keys
were mirrored. This is expected to confuse KDE , but help to mozilla and
probably to OpenOffice.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=
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: Auto IP - why not in Linux ?

2003-02-08 Thread Tzafrir Cohen
On Thu, 6 Feb 2003, Michael Sternberg wrote:


 ftp://ftp.isi.edu/internet-drafts/draft-ietf-zeroconf-ipv4-linklocal-07.txt

 In short:

  0. Static IP configured - use it and announce neighbors with ARP
 broadcast.
  1. DHCP configured - try to get IP. If successful - use and update
 neighbors.
  2. If no answer - pick a random address from 169.254.0.0/16 range.
  3. Check if it's already used - with ARP probes.
  4. If address already used - wait a little and return to step 2.
  5. If free address was found - use it and update neighbors.
  6. Periodically check for DHCP server.

 It should be a matter of changing a few scripts.
 Why he major distributions not using it ?

I hope the following is not total bullshit, please correct me if I'm
wrong...

Windows had this problem: when the network was not accissiblesuddenly all
the network interfaces were down. this causes major headaches to many
programs.

Linux (and probably most unixes as well, but I never botherd checking) has
this nice loopback interface. Even if you brutally cut the notwork cable,
thje network won't be down: the loopbak interface will be live and well.

So Windows had to keep this interface alive somehow. The result is this
wierd configuration method.

There are a number of problems: Just one that I can think of: a couple of
machines in the range 169.254 can actually start talking to each other
before the netwrk starts top get properly configured. This is probably a
big loophole that can be used together with a DoS on the dhcp server (take
a look at the default and the maximal lease time of the dhcp package).

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=
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: xkb handling in upcoming 4.3.0

2003-02-08 Thread Tzafrir Cohen
On Fri, 7 Feb 2003, Andre E. Bar'yudin wrote:

 Am Freitag 07 Februar 2003 20:46 schrieb Barak Bloch:
  Hi
  U can just change the line
   Option XkbLayout  il
  to:
   Option XkbLayout  il,us
 
  work for me.

 Does putting more than two groups work?  Like in
   Option XkbLayout  il,us,ru

Yes, but ony up to 4 . This is, IIRC due to the fact that the group of
the keyboard (its layout, in Xkb speak) is something that Xkb (as an
extention to the original X protocol) had to stick in some unused 2 bits
its authors managed to find. Or something similar...

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir

=
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: KCrorn

2003-02-08 Thread Tzafrir Cohen
On Sat, 8 Feb 2003, Amichai Rotman wrote:

 Hi Clan,

 I am trying to run a cron job to use the record command as follows:

 KDEDIR/bin/konsole -e /usr/bin/record -cv -t 00:15

 I am using KCron, so it will be easier, but I get errors. When I choose to Run
 Now in  KCron, it runs perfectly: Opens a Konsole terminal with the record
 app and exits normaly. When waiting for the designated time it doesn't. The
 user runing it gets an e-mail saying:

 konsole: cannot connect to X server

Guy has already mentioned that for this task (and probably for almost
anything run under cron) is better done without running an X client.

But since the question was asked...

You should run something like:

  DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority /path/to/X/program and its args

(If there is problem with X authority you'll get a message about
connction refused by server and previously something abut
anauthorized).

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=
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: Identification of my RH Box in the network.

2003-02-08 Thread Tzafrir Cohen
On Thu, 6 Feb 2003, Amit Roseberger wrote:

 Guys,
 I have a relatively simple problem, (even though I am struggling with it
 a few hours now..).
 When I connect (via SSH) to a different machine in my LAN I then see
 that I am recognized by my IP and not by my machine name.
 For example if I issue the 'who' command in that machine I see:
 amit  pts/2Feb  6 11:43(10.1.2.3)
 danpts/3Feb  5 13:30(foo.bar.office)

From which server did you get this name?

Who put this name there? Did the sysadmin do that, or is it automatically?


 I am connected as amit...
 I want my machine to be identifies with its name (arctic.bar.office) and
 not by its IP number...

 When I issue the 'hostname' command on my machine I get arctic and
 when I logged in I log into arctic...
 Maybe a misconfigured DHCP client?

It largely depends on your network's setup, and on the sysadmin. If you
still can't answer the question, please provide more information, such as:

- what naming service do you user (e.g: dns, nis, wins)
- What are other machnes that do get updated (OS, version, etc.)?
- What is the name server (ditto)

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=
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]




Ynet Forums Linux Lack of support

2003-02-08 Thread Ran Zahor
Title: Ynet Forums Linux Lack of support






Hi All,

I thought over and over if to bring this issue to this community, and I hope I am doing the right thing, I address you to get your support about a the issue below :

As you probably know or heard, Ynet forums and site not supporting Linux browsers, I am the forum manager of the Linux Community and I tried along with the communities manager to change things up.

Seem like the IT/MIS what ever manager is putting some barriers and for the last year and a half I managing this forum he didn't want even to meet with some Linux members that suggest to help and volunteer to change things up.

As you know Ynet publish lots of articles regarding the GNU/Linux and the opensource and GNU movement, I think they lead the amount of PR they done, and Gal Mor that wrote most of the articles give a leveled picture of the Linux events and news. This is opposite to the actions of the technical person/department that run Ynet Internet section and development.

I spoke today again about this issue with the Ynet Communities manager, and she replied that she got very few replays about this issue, the technical guy say things like for 5% of the surfers community that use fro example Netscape it's not worth the effort or If you add Linux browser support it's will heart the site so IE users will not be able to use it, so by frightening her by bull.. and because she didnt have any evidence support or proof from the surfers and because she is not a technical person she cannot help and we need your help.

I think the Newspaper of the Medina should be available to all surfer, and by using this discrimination we should protest, I respect Ynet and the respected place they give for the forum and the Linux subjects, but it's disturbing to know that with a little changes and a little more care it can be changed, and just because ignorance it is avoided.

So what I suggest, I think that each one of you should post a brief message regarding the lack of browsers support to the forums manager public address, send it to the following address : [EMAIL PROTECTED] 

Please don't spam them, try to be polite, but send it once a week or once a month, until things will be changed and they will be tiered getting this mails. At lease the answer I will get will not be : I just got few replies from users 

Lets hope for the change, all the best for all of you,

Ran Zahor.