Perl Mongers Meeting on June 13
Hi All, finally it is here: This is an official invitation of the Modiin.pm (also know as http://www.perl.org.il/ ) to the 2nd meeting. Date: 13th June 2002 18:00, the lecture will start at 19:00 Location: to be announced later Agenda: Reuven Lerner ( www.lerner.co.il ) will talk about internationalization localization Unicode Hebrew in Perl 5.8 Price: it will be free though contributions will be accepted. Food: I'll try to buy enough food so we won't starve. please RSVP to [EMAIL PROTECTED] ASAP. I need to know how many people to expect so I know how much food to buy. Now that we have lecture we only need a place. I'd like to held the meeting somewhere in the center (TA area) that is the most convenient for most of the people. Anyone has a suggestion and/or can offer a place where we can have a meeting (we need a projector) ? regards -- Gabor 054-624648 = 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]
DHCPD problem
Hi All I have dificulty using DHCPD on Linux server (rh7.3) with 2 interfaces I found out the dhcpd require me to specify all the interfaces on the server to start even if i dont want to use ( in this example eth0 ) one of the interfaces. the HOWTO recomended me to enter this line for the unused eth0 subnet 194.90.15.160 netmask 255.255.255.224 { } but then when I start to get DHCP Discover both interfaces send DHCP Offer and the client which return DHCP Request to confirm get DHCP NAK from the eth1 while eth0 send DHCP ACK. This result in endless retries. if I do ifconfig eth0 down all work and the client get its ip ( after i comment the eth0 enteries in the dhcpd.conf file ) if I leave both interfaces up and fill the missing option in the 194.90.15.160 subnet the client succesfuly lease an ip from this subnet here is the dhcpd.conf 4 yours inspection: default-lease-time 600; max-lease-time 7200; option domain-name-servers 192.168.0.1; subnet 192.168.0.0 netmask 255.255.255.0 { option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; range 192.168.0.2 192.168.0.5; option domain-name internal.co.il; } subnet 194.90.15.160 netmask 255.255.255.224 { } = 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]
ADSL: LCP: timeout sending Config-Requests
Dear Mulix et al, I am trying to set up my brand new ADSL, and I am getting the following timeout error: Jun 4 11:21:47 trillian pptp[28241]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection established. Jun 4 11:21:48 trillian pptp[28241]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:708]: Outgoing call established (call ID 0, peer's call ID 0). Jun 4 11:21:48 trillian pppd[28242]: pppd 2.4.1 started by root, uid 0 Jun 4 11:21:48 trillian pppd[28242]: using channel 10 Jun 4 11:21:48 trillian pppd[28242]: Using interface ppp0 Jun 4 11:21:48 trillian pppd[28242]: Connect: ppp0 -- /dev/pts/6 Jun 4 11:21:48 trillian pppd[28242]: sent [LCP ConfReq id=0x1 mru 1452 asyncmap 0x0 magic 0x7733d07 pcomp accomp] Jun 4 11:22:15 trillian last message repeated 9 times Jun 4 11:22:18 trillian pppd[28242]: LCP: timeout sending Config-Requests Jun 4 11:22:18 trillian pppd[28242]: Connection terminated. Jun 4 11:22:19 trillian pppd[28242]: Exit. Jun 4 11:22:19 trillian pptp[28239]: log[decaps_hdlc:pptp_gre.c:129]: short read (4294967295): Input/output error Jun 4 11:22:19 trillian pptp[28241]: log[callmgr_main:pptp_callmgr.c:245]: Closing connection Jun 4 11:22:19 trillian pptp[28241]: log[pptp_conn_close:pptp_ctrl.c:307]: Closing PPTP connection Jun 4 11:22:21 trillian pptp[28241]: log[call_callback:pptp_callmgr.c:88]: Closing connection The relevant part of ifconfig is (eth1 is connected to the modem, I never get the ppp0 entry, of course) eth1 Link encap:Ethernet HWaddr 00:C1:26:05:B4:66 inet addr:10.200.1.1 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1452 Metric:1 RX packets:217 errors:0 dropped:0 overruns:0 frame:0 TX packets:283 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:17414 (17.0 Kb) TX bytes:24464 (23.8 Kb) Interrupt:11 Base address:0x1000 The Diagnosis section of pptp, http://pptpclient.sourceforge.net/howto-diagnosis.phtml#read_io_error says there are likely errors in config files. Various mailing list archives on the net suggest checking the secrets files when LCP timeout sending Config-Requests occurs. Tsahi wrote this in http://plasma-gate.weizmann.ac.il/Linux/maillists/01/08/msg00528.html If you get LCP: timeout sending Config-Requests, your redback at bezeq probably is experiencing difficulties or it is rebooting because of an overload. the problem could also be you have some configuration problem, but if your connection was up and now it is down, it is highly unlikely. you should call 1800-340-340 and ask whats up, or wait a few minutes until the redback reboots (if it is the case). I have waited much longer than a few minutes, I just got ADSL installed - it has never been up, and Bezeq support are not very helpful. I'd like to verify that I am doing everything right before I call them again. I set up {chap,pap}-secrets according to the HOWTO (I think) [root@trillian ppp]# cat /etc/ppp/chap-secrets # Secrets for authentication using CHAP # clientserver secret IP addresses guest@OActcom 10.0.0.138 RELAY_PPP1 Bezeq guest@ONetvision 10.0.0.138 RELAY_PPP1 Bezeq Ownership and permissions look right, too. [root@trillian ppp]# ls -l /etc/ppp/{chap,pap}-secrets -rw---1 root root 251 Jun 4 11:16 /etc/ppp/chap-secrets -rw---1 root root 250 Jun 4 11:16 /etc/ppp/pap-secrets The invocation is with /usr/sbin/pptp 10.0.0.138 --quirks=BEZEQ_ISRAEL debug \ user guest@ONetvision remotename 10.0.0.138 RELAY_PPP1 \ defaultroute mtu 1452 mru 1452 noauth Essential info: [root@trillian ppp]# uname -srm Linux 2.4.7-10 i686 [root@trillian ppp]# rpm -q pptp-linux ppp pptp-linux-1.1.0-1 ppp-2.4.1-2 I am still looking on the net, but maybe some kind soul here will tell me quickly what gives? Thanks, -- Oleg Goldshmidt | [EMAIL PROTECTED] A sense of the fundamental decencies is parceled out unequally at birth. = 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: DHCPD problem
I encountered the same problem. what you have to do is edit /etc/sysconfig/dhcp and set the DHCPDARGS to the interface or interfaces you want dhcpd to listen on. root@gw etc# cat /etc/sysconfig/dhcpd # Command line options here DHCPDARGS=eth1 that way dhcpd will listen only on one interface, and you won't have to set up a dummy range on your other interface. -katriel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben-Nes Michael Sent: Tuesday, June 04, 2002 10:46 AM To: [EMAIL PROTECTED] Subject: DHCPD problem Hi All I have dificulty using DHCPD on Linux server (rh7.3) with 2 interfaces I found out the dhcpd require me to specify all the interfaces on the server to start even if i dont want to use ( in this example eth0 ) one of the interfaces. the HOWTO recomended me to enter this line for the unused eth0 subnet 194.90.15.160 netmask 255.255.255.224 { } but then when I start to get DHCP Discover both interfaces send DHCP Offer and the client which return DHCP Request to confirm get DHCP NAK from the eth1 while eth0 send DHCP ACK. This result in endless retries. if I do ifconfig eth0 down all work and the client get its ip ( after i comment the eth0 enteries in the dhcpd.conf file ) if I leave both interfaces up and fill the missing option in the 194.90.15.160 subnet the client succesfuly lease an ip from this subnet here is the dhcpd.conf 4 yours inspection: default-lease-time 600; max-lease-time 7200; option domain-name-servers 192.168.0.1; subnet 192.168.0.0 netmask 255.255.255.0 { option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; range 192.168.0.2 192.168.0.5; option domain-name internal.co.il; } subnet 194.90.15.160 netmask 255.255.255.224 { } = 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: ADSL: LCP: timeout sending Config-Requests
I don't know how helpful this is, cuz I run FreeLSD, but essentially pptp and ppp are rather the same. I have /etc/ppp/ppp.conf that looks like: Actcom: set authname aris@IActcom set authkey putpasswordhere set timeout 0 set ifaddr 0 0 add default HISADDR enable dns set mtu 1452 [If ppp scriptos on linux have slightly different syntax -- use yours here] and I hit it by doing a simple: /usr/local/sbin/pptp 10.0.0.138 Actcom Note: the whole RELAY_PPP1 thing is not mandatory, at least on the ALCATEL modems. notice I don't use it. Miki Shapiro [EMAIL PROTECTED] Unixophilic Software Developer Aladdin Knowledge Systems - Tel: +972-(4)-8811433 ICQ: 3EE853 - God is real... unless declared an integer. On 06/04/2002 11:55:19 AM ZE3 Oleg Goldshmidt wrote: Dear Mulix et al, I am trying to set up my brand new ADSL, and I am getting the following timeout error: Jun 4 11:21:47 trillian pptp[28241]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection established. Jun 4 11:21:48 trillian pptp[28241]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:708]: Outgoing call established (call ID 0, peer's call ID 0). Jun 4 11:21:48 trillian pppd[28242]: pppd 2.4.1 started by root, uid 0 Jun 4 11:21:48 trillian pppd[28242]: using channel 10 Jun 4 11:21:48 trillian pppd[28242]: Using interface ppp0 Jun 4 11:21:48 trillian pppd[28242]: Connect: ppp0 -- /dev/pts/6 Jun 4 11:21:48 trillian pppd[28242]: sent [LCP ConfReq id=0x1 mru 1452 asyncmap 0x0 magic 0x7733d07 pcomp accomp] Jun 4 11:22:15 trillian last message repeated 9 times Jun 4 11:22:18 trillian pppd[28242]: LCP: timeout sending Config-Requests Jun 4 11:22:18 trillian pppd[28242]: Connection terminated. Jun 4 11:22:19 trillian pppd[28242]: Exit. Jun 4 11:22:19 trillian pptp[28239]: log[decaps_hdlc:pptp_gre.c:129]: short read (4294967295): Input/output error Jun 4 11:22:19 trillian pptp[28241]: log[callmgr_main:pptp_callmgr.c:245]: Closing connection Jun 4 11:22:19 trillian pptp[28241]: log[pptp_conn_close:pptp_ctrl.c:307]: Closing PPTP connection Jun 4 11:22:21 trillian pptp[28241]: log[call_callback:pptp_callmgr.c:88]: Closing connection The relevant part of ifconfig is (eth1 is connected to the modem, I never get the ppp0 entry, of course) eth1 Link encap:Ethernet HWaddr 00:C1:26:05:B4:66 inet addr:10.200.1.1 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1452 Metric:1 RX packets:217 errors:0 dropped:0 overruns:0 frame:0 TX packets:283 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:17414 (17.0 Kb) TX bytes:24464 (23.8 Kb) Interrupt:11 Base address:0x1000 The Diagnosis section of pptp, http://pptpclient.sourceforge.net/howto-diagnosis.phtml#read_io_error says there are likely errors in config files. Various mailing list archives on the net suggest checking the secrets files when LCP timeout sending Config-Requests occurs. Tsahi wrote this in http://plasma-gate.weizmann.ac.il/Linux/maillists/01/08/msg00528.html If you get LCP: timeout sending Config-Requests, your redback at bezeq probably is experiencing difficulties or it is rebooting because of an overload. the problem could also be you have some configuration problem, but if your connection was up and now it is down, it is highly unlikely. you should call 1800-340-340 and ask whats up, or wait a few minutes until the redback reboots (if it is the case). I have waited much longer than a few minutes, I just got ADSL installed - it has never been up, and Bezeq support are not very helpful. I'd like to verify that I am doing everything right before I call them again. I set up {chap,pap}-secrets according to the HOWTO (I think) [root@trillian ppp]# cat /etc/ppp/chap-secrets # Secrets for authentication using CHAP # clientserver secret IP addresses guest@OActcom 10.0.0.138 RELAY_PPP1 Bezeq guest@ONetvision 10.0.0.138 RELAY_PPP1 Bezeq Ownership and permissions look right, too. [root@trillian ppp]# ls -l /etc/ppp/{chap,pap}-secrets -rw---1 root root 251 Jun 4 11:16 /etc/ppp/chap-secrets -rw---1 root root 250 Jun 4 11:16 /etc/ppp/pap-secrets The invocation is with /usr/sbin/pptp 10.0.0.138 --quirks=BEZEQ_ISRAEL debug \ user guest@ONetvision remotename 10.0.0.138 RELAY_PPP1 \ defaultroute mtu 1452 mru 1452 noauth Essential info: [root@trillian ppp]# uname -srm Linux 2.4.7-10 i686 [root@trillian ppp]# rpm -q pptp-linux ppp pptp-linux-1.1.0-1 ppp-2.4.1-2 I am still looking on the net, but maybe some kind soul here will tell me quickly what gives? Thanks, -- Oleg Goldshmidt | [EMAIL PROTECTED] A sense of the fundamental decencies is parceled out unequally at birth. = To unsubscribe, send mail to [EMAIL
Re: GPL Nuances [was Re: RMS is back again]
Oleg Goldshmidt wrote: Actually, come to think about it, contrary to what I wrote in the posting that puzzled you, one can argue that a device driver is a piece of software that makes a particular piece of software work, using knowledge of its specific characteristics that are outside of Linux scope. Thus a linux device driver is related to Linux only insofar as it enables the hardware to work with Linux, but the hardware spec it is based on is not Linux-specific, and thus the device driver is not a derivative product of the Linux kernel in this sense, so proprietary drivers are OK. A device driver is basicaly the same for a given device under a given architechure. In each system, the driver gets parameters, takes control of interrupts (if necessary), gets requests and reports status differently. The basic manipulation of the device is the same, e.g. load firmware, set interupts, buffers, etc, start i/o, get the repsonse, etc. While the code may be different (or not) the driver for device X on archiechture Y looks the same no matter what language it is written in. Probably not enough to be restricted by copyright, but enough that anyone who is familiar with writting drivers could spot. Most linux drivers were written the other way arround however. Someone wrote a driver for a device, say a network card, and someone else pulled out the device specific code and stuck in new code for their device. This worked out well in the days when no-one had any idea of how to write a device driver and very few people had a specific device. You could hack together a driver without a lot of prior programing skill and it would work. If there was enough demand, it would get fixed and ocasionaly improved. In the 2.5.x kernels, there is a new method of accessing device drivers. Some drivers have been rewritten, some fixed, some left (now to be broken). Geoff. -- Geoffrey S. Mendelson Bloomberg L.P., BFM (Israel) 2 hours ahead of London, 7 hours ahead of New York. Tel: 972-(0)3-754-1158 Fax 972-(0)3-754-1236 Email: [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]
YOM IYOON: we're rolling on.
as the number of 'positive' replies crossed the minimum we defined (20, and without counting the few 'mabyes') we've reached the point of no-return, and will perform the formal arrangements in the coming days. once we order the movie and cinematheque hall, and thus have a final date, we'll send a formal invitation with the exact date. we'll also settle on the specific lectures to be carried, and write their topics on that 'formal invitation'. the invitation will be sent both on linux-il, and personally to those who promised to escourt their bills to the meeting ;) thanks, -- 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: ADSL: LCP: timeout sending Config-Requests
Bezeq just told me (after a lot of we have no support for Linux and attempts to give me a 192.168.*.* address to ping while I had no connection) it was something on their side and they were working on it. To be fair to Bezeq's support, the last guy was friendly and did try hard to help, and didn't just slam the phone down after getting the unexpected reply to his question about OS I was using (he was just explaining to me that he was not knowledgeable in what was going on on my end, and was not sure thay had anyone knowledgeable around, though I did get an impression that there are some people with Linux expertise there, though not necessarily always). This support call was handled better than could be expected, though there is room for improvement. In any case, if someone notices a misconfiguration in what I reported, please let me know. -- Oleg Goldshmidt | [EMAIL PROTECTED] A sense of the fundamental decencies is parceled out unequally at birth. = 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: DHCPD problem
Demn. they sure forgot to mention it in the man :( - Original Message - From: Katriel Traum [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 12:14 PM Subject: RE: DHCPD problem I encountered the same problem. what you have to do is edit /etc/sysconfig/dhcp and set the DHCPDARGS to the interface or interfaces you want dhcpd to listen on. root@gw etc# cat /etc/sysconfig/dhcpd # Command line options here DHCPDARGS=eth1 that way dhcpd will listen only on one interface, and you won't have to set up a dummy range on your other interface. -katriel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben-Nes Michael Sent: Tuesday, June 04, 2002 10:46 AM To: [EMAIL PROTECTED] Subject: DHCPD problem Hi All I have dificulty using DHCPD on Linux server (rh7.3) with 2 interfaces I found out the dhcpd require me to specify all the interfaces on the server to start even if i dont want to use ( in this example eth0 ) one of the interfaces. the HOWTO recomended me to enter this line for the unused eth0 subnet 194.90.15.160 netmask 255.255.255.224 { } but then when I start to get DHCP Discover both interfaces send DHCP Offer and the client which return DHCP Request to confirm get DHCP NAK from the eth1 while eth0 send DHCP ACK. This result in endless retries. if I do ifconfig eth0 down all work and the client get its ip ( after i comment the eth0 enteries in the dhcpd.conf file ) if I leave both interfaces up and fill the missing option in the 194.90.15.160 subnet the client succesfuly lease an ip from this subnet here is the dhcpd.conf 4 yours inspection: default-lease-time 600; max-lease-time 7200; option domain-name-servers 192.168.0.1; subnet 192.168.0.0 netmask 255.255.255.0 { option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; range 192.168.0.2 192.168.0.5; option domain-name internal.co.il; } subnet 194.90.15.160 netmask 255.255.255.224 { } = 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] = 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: LCP: timeout sending Config-Requests
[EMAIL PROTECTED] writes: [If ppp scriptos on linux have slightly different syntax -- use yours here] and I hit it by doing a simple: /usr/local/sbin/pptp 10.0.0.138 Actcom On Linux it is similar but not exactly the same. At least on Red Hat (though I think it is generally true for ppp) you put per peer options files in /etc/ppp/peers, e.g. /etc/ppp/peers/actcom, and invoke pppd with # pppd call actcom etc. The syntax of the options files is a bit different from what you quoted. I am plannig to move to this setup eventually (I've used it for dial-up for years), but just now I am trying to get the initial connection. I'll bother with clean configuration later. Note: the whole RELAY_PPP1 thing is not mandatory, at least on the ALCATEL modems. notice I don't use it. Interesting. Can anyone confirm or deny it? Should it be in the HOWTO? -- Oleg Goldshmidt | [EMAIL PROTECTED] A sense of the fundamental decencies is parceled out unequally at birth. = 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: DHCPD problem
Ben-Nes Michael wrote: Demn. they sure forgot to mention it in the man :( Yes, they did: (from man dhcpd) COMMAND LINE The names of the network interfaces on which dhcpd should listen for broadcasts may be specified on the command line. This should be done on systems where dhcpd is unable to identify non-broadcast interfaces, but should not be required on other systems. If no interface names are specified on the command line dhcpd will identify all network interfaces which are up, elimininating non-broad cast interfaces if possible, and listen for DHCP broad casts on each interface. Geoff. -- Geoffrey S. Mendelson Bloomberg L.P., BFM (Israel) 2 hours ahead of London, 7 hours ahead of New York. Tel: 972-(0)3-754-1158 Fax 972-(0)3-754-1236 Email: [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: DHCPD problem
I don't think so In the man page u can see : COMMAND LINE The names of the network interfaces on which dhcpd should listen for broadcasts may be specified on the command line. In the dhcpd init script u can the line: daemon /usr/sbin/dhcpd ${DHCPDARGS} Thet start the daemon on a specific interface. It is not part of the configuration, it is part of the daemon startup process Doron ofek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ben-Nes Michael Sent: Tuesday, June 04, 2002 1:54 PM To: Katriel Traum; [EMAIL PROTECTED] Subject: Re: DHCPD problem Demn. they sure forgot to mention it in the man :( - Original Message - From: Katriel Traum [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 12:14 PM Subject: RE: DHCPD problem I encountered the same problem. what you have to do is edit /etc/sysconfig/dhcp and set the DHCPDARGS to the interface or interfaces you want dhcpd to listen on. root@gw etc# cat /etc/sysconfig/dhcpd # Command line options here DHCPDARGS=eth1 that way dhcpd will listen only on one interface, and you won't have to set up a dummy range on your other interface. -katriel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben-Nes Michael Sent: Tuesday, June 04, 2002 10:46 AM To: [EMAIL PROTECTED] Subject: DHCPD problem Hi All I have dificulty using DHCPD on Linux server (rh7.3) with 2 interfaces I found out the dhcpd require me to specify all the interfaces on the server to start even if i dont want to use ( in this example eth0 ) one of the interfaces. the HOWTO recomended me to enter this line for the unused eth0 subnet 194.90.15.160 netmask 255.255.255.224 { } but then when I start to get DHCP Discover both interfaces send DHCP Offer and the client which return DHCP Request to confirm get DHCP NAK from the eth1 while eth0 send DHCP ACK. This result in endless retries. if I do ifconfig eth0 down all work and the client get its ip ( after i comment the eth0 enteries in the dhcpd.conf file ) if I leave both interfaces up and fill the missing option in the 194.90.15.160 subnet the client succesfuly lease an ip from this subnet here is the dhcpd.conf 4 yours inspection: default-lease-time 600; max-lease-time 7200; option domain-name-servers 192.168.0.1; subnet 192.168.0.0 netmask 255.255.255.0 { option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; range 192.168.0.2 192.168.0.5; option domain-name internal.co.il; } subnet 194.90.15.160 netmask 255.255.255.224 { } = 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] = 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: ADSL: LCP: timeout sending Config-Requests
actually what hacking your modem refers to, is making it initiate the ppp link by itself and therefore, cancelling the need to set up pptp in the computer itself, which in addition to activating the dhcpd in the modem can make life pretty easy for you. (something that could solve the problem in the discussed case, although it is illegal) Try entering your modem with a browser on port 80 and looking at the pptp tab. (default password is blank - what is commonly referred to as hacking your modem by 3LiT3 H4x0Rz..) -- Barak Kaufman (3LiT3 H4x0R) :P Customer Support Manager Oz-Tech Information Systems 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: DHCPD problem
On Tue, 4 Jun 2002, doron ofek wrote: I don't think so In the man page u can see : COMMAND LINE The names of the network interfaces on which dhcpd should listen for broadcasts may be specified on the command line. In the dhcpd init script u can the line: daemon /usr/sbin/dhcpd ${DHCPDARGS} Thet start the daemon on a specific interface. It is not part of the configuration, it is part of the daemon startup process But on redhat you normally start dhcpd with the init script, not directly with /usr/sbin/dhcpd . Should have RedHat patched their local man page? (to add a reference to the sysconfig documentation?) Anybody care to file a bug report to them? -- 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]
Simulating a high latency link on a LAN using netfilter
Hey all. Anyone knows of a netfilter module that can be used (or any other way) to deliberately stall a packet in the router ? I want to create a situation in which machine A communicates with machine C on a LAN, through machine B, the linux router, and to stall the packets for a pre-determined amount of time. I've thought of course of overloading the router to the point where it lags naturally, but that's a bit of a crude solution. Thanks, Amir 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: DHCPD problem
doron ofek wrote: I don't think so In the man page u can see : COMMAND LINE The names of the network interfaces on which dhcpd should listen for broadcasts may be specified on the command line. In the dhcpd init script u can the line: daemon /usr/sbin/dhcpd ${DHCPDARGS} Thet start the daemon on a specific interface. It is not part of the configuration, it is part of the daemon startup process To have done it right, /etc/rc.d/init.d/dhcpd should have sourced /etc/sysconfig/dhcpd, where the line DHCPDARGS=whatever would be put if wanted and then used the line: daemon /usr/sbin/dhcpd $DHCPDARGS instead of daemon /usr/sbin/dhcpd Geoff. -- Geoffrey S. Mendelson Bloomberg L.P., BFM (Israel) 2 hours ahead of London, 7 hours ahead of New York. Tel: 972-(0)3-754-1158 Fax 972-(0)3-754-1236 Email: [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: DHCPD problem
That's exactly what /etc/init.d/dhcpd does. it sources /etc/sysconfig/dhcpd and uses daemon /usr/sbin/dhcpd ${DHCPDARGS} -Original Message- From: Geoffrey S. Mendelson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 3:02 PM To: doron ofek Cc: 'Ben-Nes Michael'; 'Katriel Traum'; [EMAIL PROTECTED] Subject: Re: DHCPD problem doron ofek wrote: I don't think so In the man page u can see : COMMAND LINE The names of the network interfaces on which dhcpd should listen for broadcasts may be specified on the command line. In the dhcpd init script u can the line: daemon /usr/sbin/dhcpd ${DHCPDARGS} Thet start the daemon on a specific interface. It is not part of the configuration, it is part of the daemon startup process To have done it right, /etc/rc.d/init.d/dhcpd should have sourced /etc/sysconfig/dhcpd, where the line DHCPDARGS=whatever would be put if wanted and then used the line: daemon /usr/sbin/dhcpd $DHCPDARGS instead of daemon /usr/sbin/dhcpd Geoff. -- Geoffrey S. Mendelson Bloomberg L.P., BFM (Israel) 2 hours ahead of London, 7 hours ahead of New York. Tel: 972-(0)3-754-1158 Fax 972-(0)3-754-1236 Email: [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: Simulating a high latency link on a LAN using netfilter
Amir Sela [EMAIL PROTECTED] writes: Anyone knows of a netfilter module that can be used (or any other way) to deliberately stall a packet in the router ? I want to create a situation in which machine A communicates with machine C on a LAN, through machine B, the linux router, and to stall the packets for a pre-determined amount of time. I can think of a couple of ways to do it with a little bit of C coding. 1) hack the proper place in the kernel. 2) fully user-space solution: a) grab every incoming packet with pcap b) set iptables to DROP the packet (or ipchains to DENY, what have you) alternatively, iptables supports a QUEUE chain which is supposed to pass the packet to userland; it should be supported by the kernel to work, and I have never tried it (I did the a+b trick with ipchains - for a different purpose), so I don't know if it has the same effect as a+b here. c) once you've got the packet in userland, you can wait for a fixed amount of time dt, wait for a random dt with a given distribution using a random number generator, wait for different amounts of time based on its parameters (maybe it's better to do _this_ with iptables, if possible, in order not to send packets you don't want to delay to userspace), etc. d) having waited for time dt, send the packet to a raw socket; don't forget to set IP_HDRINCL option. I think option 2 is simpler, you want a delay so you don't care about the inefficiency of passing every packet to userspace, you don't touch the router's kernel, and userspace allows you much more flexibility. -- Oleg Goldshmidt | [EMAIL PROTECTED] A sense of the fundamental decencies is parceled out unequally at birth. = 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: Simulating a high latency link on a LAN using netfilter
On Tuesday 04 June 2002 16:54, Oleg Goldshmidt wrote: Amir Sela [EMAIL PROTECTED] writes: Anyone knows of a netfilter module that can be used (or any other way) to deliberately stall a packet in the router ? I want to create a situation in which machine A communicates with machine C on a LAN, through machine B, the linux router, and to stall the packets for a pre-determined amount of time. I can think of a couple of ways to do it with a little bit of C coding. 1) hack the proper place in the kernel. I'm not a kernel hacker, so I think the learning curve on this one would be quite large(understated). 2) fully user-space solution: a) grab every incoming packet with pcap b) set iptables to DROP the packet (or ipchains to DENY, what have you) alternatively, iptables supports a QUEUE chain which is supposed to pass the packet to userland; it should be supported by the kernel to work, and I have never tried it (I did the a+b trick with ipchains - for a different purpose), so I don't know if it has the same effect as a+b here. c) once you've got the packet in userland, you can wait for a fixed amount of time dt, wait for a random dt with a given distribution using a random number generator, wait for different amounts of time based on its parameters (maybe it's better to do _this_ with iptables, if possible, in order not to send packets you don't want to delay to userspace), etc. d) having waited for time dt, send the packet to a raw socket; don't forget to set IP_HDRINCL option. That IS simpler. Even though I'm a bit less oblivious about userland programming than kernel hacking, this would still require a bit of time to do, as I'm unexperienced. Nevertheless, if I won't find any pre-made tool to achieve this, I think I'll try and do it. I think it can be a very handy tool in testing enviroments. Thanks :) I think option 2 is simpler, you want a delay so you don't care about the inefficiency of passing every packet to userspace, you don't touch the router's kernel, and userspace allows you much more flexibility. 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: Simulating a high latency link on a LAN using netfilter
On Tue, 4 Jun 2002, Amir Sela wrote: Hey all. Anyone knows of a netfilter module that can be used (or any other way) to deliberately stall a packet in the router ? I want to create a situation in which machine A communicates with machine C on a LAN, through machine B, the linux router, and to stall the packets for a pre-determined amount of time. I've thought of course of overloading the router to the point where it lags naturally, but that's a bit of a crude solution. You need to use CBQ queue. It is part of TOS package in kernel. I use http://lartc.org/wondershaper/wondershaper-1.1a.tar.gz to shape ADSL traffic and one of techniques it uses is CBQ (for keeping packet queue in router and not in modem). Thanks, Amir 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] --- Bye, | Fax: (972)-2-6796453 | Debian Arieh | Phone: (972)-5-432 | Now !!! = 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: Perl Mongers Meeting on June 13
Hi! I may be able to come, but I can't quite guarantee it in advance due to my tight schedule. Regards, Shlomi Fish On Tue, 4 Jun 2002, Gabor Szabo wrote: Hi All, finally it is here: This is an official invitation of the Modiin.pm (also know as http://www.perl.org.il/ ) to the 2nd meeting. Date: 13th June 2002 18:00, the lecture will start at 19:00 Location: to be announced later Agenda: Reuven Lerner ( www.lerner.co.il ) will talk about internationalization localization Unicode Hebrew in Perl 5.8 Price: it will be free though contributions will be accepted. Food: I'll try to buy enough food so we won't starve. please RSVP to [EMAIL PROTECTED] ASAP. I need to know how many people to expect so I know how much food to buy. Now that we have lecture we only need a place. I'd like to held the meeting somewhere in the center (TA area) that is the most convenient for most of the people. Anyone has a suggestion and/or can offer a place where we can have a meeting (we need a projector) ? regards -- Gabor 054-624648 = 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] -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ Home E-mail: [EMAIL PROTECTED] Let's suppose you have a table with 2^n cups... Wait a second - is n a natural number? = 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: Simulating a high latency link on a LAN using netfilter
On Tue, 2002-06-04 at 15:35, Amir Sela wrote: Hey all. Anyone knows of a netfilter module that can be used (or any other way) to deliberately stall a packet in the router ? I want to create a situation in which machine A communicates with machine C on a LAN, through machine B, the linux router, and to stall the packets for a pre-determined amount of time. I've thought of course of overloading the router to the point where it lags naturally, but that's a bit of a crude solution. Go grab NIST Net, it does what you want and much much more (random drops,add jitter etc.): http://www.itl.nist.gov/div892/itg/carson/nistnet/index.html Gilad. -- Gilad Ben-Yossef [EMAIL PROTECTED] Code mangler, senior coffee drinker and VP SIGSEGV Qlusters ltd. A billion flies _can_ be wrong - I'd rather eat lamb chops than shit. -- Linus Torvalds on lkml = 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: LCP: timeout sending Config-Requests
Note: the whole RELAY_PPP1 thing is not mandatory, at least on the ALCATEL modems. notice I don't use it. Interesting. Can anyone confirm or deny it? Should it be in the HOWTO? A month or two ago my (Alcatel) ADSL stopped functioning altogether. Might have even been the same timeout sending Config-Requests error, but I'm not sure. The nice Bezeq tech-support person suggested that I change remotename to 10.0.0.138 (and the matching field in pap-options, etc), which fixed the problem. He wasn't as helpful in telling me why this change was suddenly required, but there you go. = 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: Simulating a high latency link on a LAN using netfilter
On Tue, Jun 04, 2002 at 04:54:47PM +0300, Oleg Goldshmidt wrote: Amir Sela [EMAIL PROTECTED] writes: Anyone knows of a netfilter module that can be used (or any other way) to deliberately stall a packet in the router ? I want to create a situation in which machine A communicates with machine C on a LAN, through machine B, the linux router, and to stall the packets for a pre-determined amount of time. I can think of a couple of ways to do it with a little bit of C coding. 1) hack the proper place in the kernel. I'm sure shlomi will let me know if I'm wrong, but I'm reasonably certain this exactly is what his IP-Noise project does. Check out http://www-comnet.technion.ac.il/~cn1w02/ 2) fully user-space solution: a) grab every incoming packet with pcap b) set iptables to DROP the packet (or ipchains to DENY, what have you) alternatively, iptables supports a QUEUE chain which is supposed to pass the packet to userland; it should be supported by the kernel to work, and I have never tried it (I did the a+b trick with ipchains - for a different purpose), so I don't know if it has the same effect as a+b here. It works. If anyone needs help with it, ask choo ;) Alternatively, ask me. -- Sterday 13 Forelithe 7466 http://vipe.technion.ac.il/~mulix/ http://syscalltrack.sf.net/ msg19815/pgp0.pgp Description: PGP signature
Re: Perl Mongers Meeting on June 13
Hi All, finally it is here: This is an official invitation of the Modiin.pm (also know as http://www.perl.org.il/ ) to the 2nd meeting. Date: 13th June 2002 18:00, the lecture will start at 19:00 Location: to be announced later Agenda: Reuven Lerner ( www.lerner.co.il ) will talk about internationalization localization Unicode Hebrew in Perl 5.8 Price: it will be free though contributions will be accepted. Food: I'll try to buy enough food so we won't starve. please RSVP to [EMAIL PROTECTED] ASAP. I need to know how many people to expect so I know how much food to buy. Now that we have lecture we only need a place. I'd like to held the meeting somewhere in the center (TA area) that is the most convenient for most of the people. Anyone has a suggestion and/or can offer a place where we can have a meeting (we need a projector) ? regards -- Gabor 054-624648 For a place you might try the Bar Ilan Linux Club (BILC): The university official contact person is Jeremy Schiff schiff(at)macs.biu.ac.il. Helping him: David Shadmi bds049(at)motorola.com, shadmi_d(at)netvision.net.il, Boaz yboaz(at)yahoo.com, Jonathan Levi jl344322(at)yahoo.com. -- Shaul Karl, [EMAIL PROTECTED] e t = 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: Simulating a high latency link on a LAN using netfilter
On Tue, 4 Jun 2002, Muli Ben-Yehuda wrote: On Tue, Jun 04, 2002 at 04:54:47PM +0300, Oleg Goldshmidt wrote: Amir Sela [EMAIL PROTECTED] writes: Anyone knows of a netfilter module that can be used (or any other way) to deliberately stall a packet in the router ? I want to create a situation in which machine A communicates with machine C on a LAN, through machine B, the linux router, and to stall the packets for a pre-determined amount of time. I can think of a couple of ways to do it with a little bit of C coding. 1) hack the proper place in the kernel. I'm sure shlomi will let me know if I'm wrong, but I'm reasonably certain this exactly is what his IP-Noise project does. Check out http://www-comnet.technion.ac.il/~cn1w02/ This is exactly what the IP-Noise project does, but it can also be implemented by writing a simpler two-thread program that uses IP-Queue. The IP-Noise kernel module currently can only work with kernels that have the older VM by Rik van Riel. The user-land arbitrator can work for any kernel. Regards, Shlomi Fish 2) fully user-space solution: a) grab every incoming packet with pcap b) set iptables to DROP the packet (or ipchains to DENY, what have you) alternatively, iptables supports a QUEUE chain which is supposed to pass the packet to userland; it should be supported by the kernel to work, and I have never tried it (I did the a+b trick with ipchains - for a different purpose), so I don't know if it has the same effect as a+b here. It works. If anyone needs help with it, ask choo ;) Alternatively, ask me. -- Sterday 13 Forelithe 7466 http://vipe.technion.ac.il/~mulix/ http://syscalltrack.sf.net/ -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ Home E-mail: [EMAIL PROTECTED] Let's suppose you have a table with 2^n cups... Wait a second - is n a natural number? = 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]