RE: Who changed the root password

2003-01-29 Thread Assaf Flatto
Title: Message



it would bea 
good start to check the sulog and the `last` log , in order to see who was 
logged in that time to the machine, since you have a time stamp - it 
should be rather simple to narrow it down to the relevent time frame and from 
there on tracing the address of the one looged in to the machine 


then check with the 
ones you know to have the root password whom might have left an open session 


But first change the 
password and keep track of whom you tell it to ( if you must at 
all).

Assaf

  
  -Original 
  Message-From: FW Admin [mailto:[EMAIL PROTECTED]] 
  Sent: Monday, January 27, 2003 5:12 PMTo: Linux-il@cs. 
  Huji. Ac. Il (E-mail)Subject: Who changed the root 
  password
  These are the suspisious records in the 
  /var/log/messages: 
  messages.2:Jan 14 18:06:06 mail PAM_pwdb[5947]: password for 
  (root/0) changed by ((null)/0) messages.3:Jan 8 
  21:00:13 mail PAM_pwdb[2528]: password for (root/0) changed by 
  ((null)/0) [root@mail log]# 
  And the root password was indeed changed. By whom ? 

  == 
  Evgeny Popov Network and Security 
  Administrator Phone: 972-9-9594995 
  [EMAIL PROTECTED]  Tecnomatix Tecnologies 
  Ltd. == "Unix IS user friendly, it is just selective about who his friends 
  are." Anonymous **
** eSafe-IL scanned this outgoing email for viruses, vandals and malicious content **
**


---
This e-mail message may contain confidential, commercial and privileged information or data that constitute proprietary information of Cellcom Israel Ltd. Any review or distribution by others is strictly prohibited If you are not the intended recipient you are hereby notified that any use of this information or data by any other person is absolutely prohibited. If you are not the intended recipient, please delete all copies and contact us by e-mailing to: [EMAIL PROTECTED]
Thank You.




Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Eliran
I know people have discussed this topic alot but it's over a month that 
I can't successfully connect.
This was tried on RedHat 8 , RedHat 7.3 and Debian 3 SID (all on the 
same machine).
The ethernet card is Realtek.

Here are the details (l/p details altered):

[This is quite long, I tried to trim it up as much as I could]

---


cablestart script (provided by Amir Tal):
^^

#!/bin/bash

USERNAME=username

/sbin/ifdown eth0
/sbin/ifup eth0

CABLEGW=`cat /etc/dhcpc/dhcpcd-eth0.info | grep GATEWAY | cut -d= -f2`

/sbin/route add -host pns.inter.net.il gw $CABLEGW

/usr/sbin/pptp-linux pns.inter.net.il debug user $USERNAME remotename 
pns.inter.net.il mtu 1460 mru 1460 defaultroute noauth

sleep 5

NEWGW=$(/sbin/ifconfig ppp0 | grep inet | cut -d: -f3 | tail -1 | cut 
-d  -f1)

/sbin/route add default gw $NEWGW
/sbin/route del default gw $CABLEGW

-

/etc/ppp/options:

lock
hide-password
noauth
usepeerdns

-

[root@localhost netvision-connect]# route -vn
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
213.8.255.217   0.0.0.0 255.255.255.255 UH0  00 
ppp0
213.8.56.15 10.40.32.1  255.255.255.255 UGH   0  00 
eth0
10.40.32.0  0.0.0.0 255.255.224.0   U 0  00 
eth0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  00 lo

[root@localhost netvision-connect]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt 
Iface
213.8.255.217   0.0.0.0 255.255.255.255 UH   40 0  0 
ppp0
213.8.56.15 10.40.32.1  255.255.255.255 UGH  40 0  0 
eth0
10.40.32.0  0.0.0.0 255.255.224.0   U40 0  0 
eth0
127.0.0.0   0.0.0.0 255.0.0.0   U40 0  0 lo


--

[root@localhost netvision-connect]# cat /etc/resolv.conf
search inter.net.il
nameserver 192.116.202.222
nameserver 192.116.192.9

--

This is probably meanless as I'm using a clean install of RedHat 7.3 no 
rules created by me:

[root@localhost netvision-connect]# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source   destination   
Chain FORWARD (policy ACCEPT)
target prot opt source   destination   
Chain OUTPUT (policy ACCEPT)
target prot opt source   destination   

-

My devices, ppp0 is up only after runing 'cablestart' of course:

[root@localhost netvision-connect]# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:50:FC:8C:43:46  inet 
addr:10.40.38.210  Bcast:255.255.255.255  Mask:255.255.224.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:479 errors:0 dropped:0 overruns:0 frame:0
TX packets:531 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:48132 (47.0 Kb)  TX bytes:44308 (43.2 Kb)
Interrupt:9 Base address:0xc000

loLink encap:Local Loopback  inet addr:127.0.0.1  
Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:61 errors:0 dropped:0 overruns:0 frame:0
TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3940 (3.8 Kb)  TX bytes:3940 (3.8 Kb)

ppp0  Link encap:Point-to-Point Protocol  inet 
addr:213.8.129.19  P-t-P:213.8.255.217  Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2750 (2.6 Kb)  TX bytes:912 (912.0 b)




Login/password details changed:

# Secrets for authentication using PAP
# clientserversecretIP addresses
### redhat-config-network will overwrite this part!!! (begin) 
##
### redhat-config-network will overwrite this part!!! (end) 

username pns.inter.net.il password


Here is pinging google:

[root@localhost netvision-connect]# 

Re: Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Amir Tal
On Wednesday 29 January 2003 12:18, Eliran wrote:
 I know people have discussed this topic alot but it's over a month that
 I can't successfully connect.
 This was tried on RedHat 8 , RedHat 7.3 and Debian 3 SID (all on the
 same machine).
 The ethernet card is Realtek.

 Here are the details (l/p details altered):

 [This is quite long, I tried to trim it up as much as I could]

 ---



 cablestart script (provided by Amir Tal):
 ^^

 #!/bin/bash

 USERNAME=username

 /sbin/ifdown eth0
 /sbin/ifup eth0

 CABLEGW=`cat /etc/dhcpc/dhcpcd-eth0.info | grep GATEWAY | cut -d= -f2`

 /sbin/route add -host pns.inter.net.il gw $CABLEGW

 /usr/sbin/pptp-linux pns.inter.net.il debug user $USERNAME remotename
 pns.inter.net.il mtu 1460 mru 1460 defaultroute noauth

 sleep 5

 NEWGW=$(/sbin/ifconfig ppp0 | grep inet | cut -d: -f3 | tail -1 | cut
 -d  -f1)

 /sbin/route add default gw $NEWGW
 /sbin/route del default gw $CABLEGW

 ---
--

 /etc/ppp/options:

 lock
 hide-password
 noauth
 usepeerdns

 ---
--

 [root@localhost netvision-connect]# route -vn
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 213.8.255.217   0.0.0.0 255.255.255.255 UH0  00
 ppp0
 213.8.56.15 10.40.32.1  255.255.255.255 UGH   0  00
 eth0
 10.40.32.0  0.0.0.0 255.255.224.0   U 0  00
 eth0
 127.0.0.0   0.0.0.0 255.0.0.0   U 0  00 lo

 [root@localhost netvision-connect]# netstat -rn
 Kernel IP routing table
 Destination Gateway Genmask Flags   MSS Window  irtt
 Iface
 213.8.255.217   0.0.0.0 255.255.255.255 UH   40 0  0
 ppp0
 213.8.56.15 10.40.32.1  255.255.255.255 UGH  40 0  0
 eth0
 10.40.32.0  0.0.0.0 255.255.224.0   U40 0  0
 eth0
 127.0.0.0   0.0.0.0 255.0.0.0   U40 0  0 lo


 ---
---

 [root@localhost netvision-connect]# cat /etc/resolv.conf
 search inter.net.il
 nameserver 192.116.202.222
 nameserver 192.116.192.9

 ---
---

 This is probably meanless as I'm using a clean install of RedHat 7.3 no
 rules created by me:

 [root@localhost netvision-connect]# iptables --list
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination

 ---
--

 My devices, ppp0 is up only after runing 'cablestart' of course:

 [root@localhost netvision-connect]# ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:50:FC:8C:43:46  inet
 addr:10.40.38.210  Bcast:255.255.255.255  Mask:255.255.224.0
  UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:479 errors:0 dropped:0 overruns:0 frame:0
  TX packets:531 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100
  RX bytes:48132 (47.0 Kb)  TX bytes:44308 (43.2 Kb)
  Interrupt:9 Base address:0xc000


try to change MTU of your eth0 also to 1460, and reconnect.
other then that, it looks ok.

just make sure the $CABLEGW interval is removed from the routing table after 
ppp0 is up. i saw cases where it does not get removed cleanly, and causes 
problems.

tal.



 loLink encap:Local Loopback  inet addr:127.0.0.1
 Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:61 errors:0 dropped:0 overruns:0 frame:0
  TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:3940 (3.8 Kb)  TX bytes:3940 (3.8 Kb)

 ppp0  Link encap:Point-to-Point Protocol  inet
 addr:213.8.129.19  P-t-P:213.8.255.217  Mask:255.255.255.255
  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
  RX packets:48 errors:0 dropped:0 overruns:0 frame:0
  TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:3
  RX bytes:2750 (2.6 Kb)  TX bytes:912 (912.0 b)


 ---

Re: Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Boris Ratner

Eliran,

Check this out

Kernel IP routing table:
Destination Gateway Genmask Flags Metric RefUse 
Iface
213.8.255.217   0.0.0.0 255.255.255.255 UH0  00 ppp0
213.8.56.15 10.40.32.1  255.255.255.255 UGH   0  00 eth0 

#change the following line to look like this
10.40.32.0  10.40.32.1  255.255.224.0   U 0  00 eth0

127.0.0.0   0.0.0.0 255.0.0.0   U 0  00 lo

# the following line you don't have at all:
0.0.0.0 213.8.225.217   0.0.0.0 UG0  00 ppp0
I think that you will need default gw to surf the net :-)

Regards Boris Ratner.


=
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: Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Eliran
Amir Tal wrote:


just make sure the $CABLEGW interval is removed from the routing table after 
ppp0 is up. i saw cases where it does not get removed cleanly, and causes 
problems.
 

What kind of problems? What is the significant of the MTU variable ?


 





=
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: Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Eliran
Boris Ratner wrote:


I think that you will need default gw to surf the net :-)
 

I have one default gw at the begining, later I add a new one and delete 
the old one.

What's wrong ?



=
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: Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Amir Tal
On Wednesday 29 January 2003 16:41, Eliran wrote:
 Amir Tal wrote:
 just make sure the $CABLEGW interval is removed from the routing table
  after ppp0 is up. i saw cases where it does not get removed cleanly, and
  causes problems.

 What kind of problems? What is the significant of the MTU variable ?

if there are 2 gateways in your routing table, some requests might be directed 
to the wrong gateway, including connection attempts, dns quries etc...

MTU stands for maximum transfer units. i can go on and on about what it 
does. lets save everyone some bandwidth. read this :
http://www.pcwebopedia.com/TERM/M/MTU.html
-- 
==
Tal Amir,Founder, Content Manager.
Whatsup - Hebrew Linux Portal.
http://www.whatsup.org.il,[EMAIL PROTECTED]
ICQ : 15748705, Cell : 058-978979
==



=
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: Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Boris Ratner

Eliran try making the following changes to the script: 


cablestart script (provided by Amir Tal):
^^
#!/bin/bash
USERNAME=username
/sbin/ifdown eth0
/sbin/ifup eth0
CABLEGW=`cat /etc/dhcpc/dhcpcd-eth0.info | grep GATEWAY | cut -d= -f2`
/sbin/route add -host pns.inter.net.il gw $CABLEGW

/sbin/route del default gw $CABLEGW   # delete the default gw here so pptp 
could create one itself

/usr/sbin/pptp-linux pns.inter.net.il debug user $USERNAME remotename 
pns.inter.net.il mtu 1460 mru 1460 defaultroute noauth  

sleep 5

# If i am right then pptp should add a new default gw by itself
# Try typing this script manually until this line and write route -n to 
see if there
# actually is a new default gw. if there is one don't execute next two 
lines.\

NEWGW=$(/sbin/ifconfig ppp0 | grep inet | cut -d: -f3 | tail -1 | cut 
-d  -f1)
/sbin/route add default gw $NEWGW 

--
I have published my own script a month ago on IGLU's FAQ but it's not 
there now.
Tzafrir migh have it though.

Regards Boris Ratner.
053-891578





=
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: Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Boris Ratner

Eliran,
I will have to agree with Amir Tal.
You need to have the following routnig table prior to pptp connection:

1. route to your local Aruzei zahav network :  route add -net 10.x.y.z 
netmask 255.255.240.0 gw ARUZEY_zahav_GW interface eth0

2.route to your Internet_Zahav pptp server:route add -host 
IP_of_inet_zahav_pptp gw ARUZEY_zahav_GW interface eth0

3.standart local route 127.0.0.0 through lo interface.

4.(optional) you can add a route to aruzey zahav dns server here :route 
add -host AZAHAV_DNS_SERVER gw ARUZEY_zahav_GW  interface eth0

5. run route -n to check if you have a default gw, if you do - DELETE 
it. you don't need it anymore 'cause you have static routes to everywhere 
you need.

6 .now run pptp client with all of the parameters , if you chose not to 
apply paragraph 4 use IP address for IneternetZahav pptp server.
use ifconfig to see when the ppp0 interface is brought up.
use route -n to see if pptp client added the new DEFAULT gw.
if you don't see it add it using: route add default gw 213.8.255.217 interface ppp0  # 
I took the address from your first mail.

what you will have is static routes to the local network and pptp server 
and default route through pptp server to the rest of the
internet.

I will be helpful if you will send the output of the process from the 
beginning to the end.

Boris Ratner.
053891578
ps:Call me if there are problems or complications.




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




libDCOP error

2003-01-29 Thread The-Q
I had KDE3.0.4 and upgraded into 3.1
After I updated everything worked well excpet one thing:
One I'm trying to run programs I compiled from source, I get this error:
relocation error: /opt/kde/lib/libDCOP.so.4: undefined symbol: 
static_QUType_varptr

What should I do?

=
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: Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Amit Margalit
Hi Eliran,

The method suggested by Amir Tal is fine, and if you wish to explore
another option, the method I am offering in the Cable-Modem Mini-Howto is
equivalent.

I preferred not to delete the default gateway, but to make the default
gateway with a metric (priority) of 1 to the ethernet ( = the cable
modem) and add another default gateway ( to the internet ) with metric 0.

Here is how route -v looks on my system:
[amit@galadriel ~]$ route -v
Kernel IP routing table
Destination Gateway   Genmask Flags Metric RefUse
Iface
212.199.26.28   * 255.255.255.255 UH0  00 eth0
212.199.26.107  * 255.255.255.255 UH0  00 ppp0
10.64.128.0 * 255.255.224.0   U 0  00 eth0
127.0.0.0   * 255.0.0.0   U 0  00 lo
default * 0.0.0.0 U 0  00 ppp0
default * 0.0.0.0 U 1  00 eth0

The upshot of this is to have two things happen:
You must use eth0 to access the pptp server. If you change your default
route without setting a static route to the pptp server, then after about
3 minutes, the pptp keepalive packets that never arrive will cause the
connection to drop.
The second thing you need is a default route to the peer of your ppp0
interface, and it must have the highest priority (= lowest metric) or be
the only default route.

Amit

-- 
Amit Margalit
=
It is easy to find fault, if one has that disposition.  There was once a man
who, not being able to find any other fault with his coal, complained that
there were too many prehistoric toads in it.
-- Mark Twain, Pudd'nhead Wilson's Calendar


=
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: libDCOP error

2003-01-29 Thread Ira Abramov
Quoting The-Q, from the post of Wed, 29 Jan:
 I had KDE3.0.4 and upgraded into 3.1
 After I updated everything worked well excpet one thing:
 One I'm trying to run programs I compiled from source, I get this error:
 relocation error: /opt/kde/lib/libDCOP.so.4: undefined symbol: 
 static_QUType_varptr
 
 What should I do?

recompile again against the new libraries?

if you want more help, list how you upgraded, downloaded from where, and
on what distro. this could be a lot of things.

-- 
Born again badass
Ira Abramov

http://ira.abramov.org/email/ This post is encrypted twice with ROT-13.
Documenting or attempting to crack this encryption is illegal.



msg25483/pgp0.pgp
Description: PGP signature


RE: Cables Connection Under Aruzei Zahav + Internet Zahav

2003-01-29 Thread Arik Baratz
 From: Amit Margalit [mailto:[EMAIL PROTECTED]]

[snip]
 I preferred not to delete the default gateway, but to make the default
 gateway with a metric (priority) of 1 to the ethernet ( = the cable
 modem) and add another default gateway ( to the internet ) 
 with metric 0.

Well, this is not allowed AFAIK as far as standards go. Use metric 1 and 2, not 0 and 
1.

I do something similar with my ADSL lines using iproute2 package (which is far far far 
better than the ifconfig/route combo). If you don't know how to use iproute2, do 
yourself a favor and learn it. It streamlines network configuration concepts and makes 
life a little harder at first but a helluvalot easier once you get to know it.

I have no default route in my main routing table. I also have two more tables - adsl 
and isdn, which have a default route to the - you guessed it - adsl and isdn lines. In 
addition, I have a rule with a higher priority to route mail using the ADSL table and 
a rule with a lower priority to route mail using the ISDN table. When an ADSL line 
goes up, its ip-up scripts add the default route to the ADSL table, and the ip-down 
removes it from the table.

This way you are saying what you want to do, rather than much around with metrics and 
other stuff.

-- Arik
**
This email and attachments have been scanned for
potential proprietary or sensitive information leakage. 
Vidius, Inc. Protecting Your Information from the Inside Out. 
www.vidius.com
**

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: KDE 3.1 is out.

2003-01-29 Thread Hetz Ben Hamo
 What's the deal with the redhat - kde relationship?
 Did that bluecurve/bero-quiting incident kill our chances to get KDE
 rpms when major versions are released?
 Is anybody in redhat in charge of KDE connections?
 Is this the beginning of the segmentation between europe and the states
 leading to World War Three ... woh I think I got a little carried away ...

No,

they are busy with the preperation of the next version of Red Hat, and their 
version has tons of patches which are not part of KDE (like GNOME docking 
support, etc)..

Thanks,
Hetz

=
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: KDE 3.1 is out.

2003-01-29 Thread Hetz Ben Hamo
 Could the mandrake SRPMs be rebuilt on RedHat? Probably no
 How much work is required to modify them?

Depends. You'll need to replace the .tar.gz sources, remove lots of their 
%patch, and modify the BuildRequires field ;)

 Alternatively: How much work is required to modify the latest rawhide KDE
 SRPMs to build wit hthe latest KDE release?

Same as above.

 (Does recent QT have font-config 2 support built-in, or do RedHat still
 have to patch this in? font-config2 is definitly one of the good things
 pushed by RH8. The only problem with it is that some legacy programs
 don't support it ;-) )

Such as? I'm running Phoebe2 with many apps from apps.kde.org recompiled by 
myself, so far everything seems to be ok. The XFT2 patches in RH are 
of-course half baked and according to the rumors I heard, Trolltech warned 
Red Hat that if they don't stop those games, they'll remove RH QT RPMS from 
the supported list.

Thanks,
Hetz

=
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: Globes article about Perl (and PHP)

2003-01-29 Thread Hetz Ben Hamo
 I'd be greatful if people with other browsers and/or platforms other
 than Linux would check the Globes site and let me know (in private mail
 if you don't want to bother the list) browser name/version/platform and
 where do you get stuck.

 I'll try to draw their attention to this.

David Faure implemented some stubs to convince the globes site to work on 
Konqueror, which seems looks mostly fine (although the upper part seems not 
to appear - time to nag David again), but other then this Globes looks OK 
with Konqueror 3.0.4 and above...

Thanks,
Hetz

=
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: Cabel modem installation.

2003-01-29 Thread Alex Chudnovsky
On Wednesday 29 January 2003 21:42, David Harel wrote:
 Alex,

 I posted a message to you and the group regarding my findings about the
 cable modem (attached below)
I saw it, I just had no time to answer, sorry.

 Since I did not receive any reply I presumed I failed to send it. Could you
 verify that you got it and can you figure out how to help me in this
 matter?

 The updated request.
 Thanks everyone who replied, (it always gets me by a surprise that so many
 people are kind enough to
 spend their time and answer)

 OK, things are a little more difficult.

 To begin, with I failed to describe my machine. It is an HP omnibook
 laptop. It has network card built
 into it and a single USB port to which I hooked a USB HUB. I am running
 Linux RH 8.0.
 Since I jammed the linux installation I reinstalled everything from scratch
 (while the cable modem is
 connected to the USB via the HUB).
 In the installation process I was prompted for eth0 only. I gave it IP
 address 10.0.0.1

 It took me a while to figure out that after boot, eth0 is the USB cable
 modem. I was not able to
 reference eth1 at all.
The following in /etc/modules.conf may help

alias eth0 the_built_in_network_card_driver
alias eth1 CDCEther


 What I do to make it work is:

1.Stop network operations by the command:  /etc/init.d/network stop
2.Disconnect the cable modem from  the USB hub.
3.Start eth0 manually by the command:  ifconfig eth0 10.0.0.1 netmask
 255.255.255.0 up
4.Reconnect the cable modem to the USB hub.
5.I fiddle a little with the start/stop of /etc/init.d/network and
 vualla. eth0 is the network card and
  eth1 is the usb cable modem.

 I would like it to go smoothly on boot time without fiddling that much.
 Also I would like to figure out
 which eth? is to which physical hardware thing.
Driver that detects its hardware first ( meaning usually driver that is loaded 
first, except USB, PCMCIA and other hotplugs ), gets eth0. And I HATE THIS 
WAY, as it doesn't play well with hotplugging. This stupidity should have 
been improved before long.
 I tried to use modprobe -c and got that eth0 is an alias to something.
To what exactly?

 below are the files ifcfg-eth[01]
 eth0:

  DEVICE=eth0
  IPADDR=10.0.0.1
  NETMASK=255.255.255.0
  NETWORK=10.0.0.0
  ONBOOT=yes
  NAME=eth0

Seems to be all right.
 eth1:

  DEVICE=eth1
  BOOTPROTO=dhcp
  ONBOOT=yes
Seems to be all right too.


-- 

Regards,
Alex Chudnovsky
e-mail : [EMAIL PROTECTED]
ICQ : 35559910


=
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: can't send mail

2003-01-29 Thread Tzafrir Cohen
On Wed, 29 Jan 2003, Oleg Goldshmidt wrote:

 Moshe Kaminsky [EMAIL PROTECTED] writes:

  So my question is what is it that mozilla can do and mutt doesn't?

 I don't use either, but I suspect they have basically the same
 functionality plus different bells and whistles. Your confusion is on
 a different level. Grossly simplifying, dealing with email consists of
 two things (assuming the rest of the networking - domain name
 resolution, routing, and the likes - is somehow taken care of): the
 user side, i.e. some application that allows the user to specify where
 it gets the mail from and where it sends the mail to, read and compose
 emails, etc. Such applications are called Mail User Agents, or
 MUAs. Examples are Mozilla, KMail, mutt, pine, Evolution, Outlook, etc.
 The other side is transfer, all the stuff that Ira told you about and
 more. That is handled by mail server software such as sendmail,
 postfix, qmail, etc., and those programs are sometimes called MTA -
 Mail Trasport Agents.

Two points:

* mutt doesn't do smtp . Its authors deem it to be an MUA and not an MTA,
  and thus it doesn't have this smtp code. Thus you do need an MTA. Read
  mutt's FAQ.

* One feature I now find sorely missing in mozilla and kmail, that both
  pine and mutt have:

  pine and mutt look up the local users database (passwd nss) to expand a
  name if it is not in their aliases. kmail and mozilla don't seem to have
  this ability (maybe they scan /etc/passwd, but certainly not NIS)

-- 
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: Cabel modem installation.

2003-01-29 Thread Tzafrir Cohen
On Wed, 29 Jan 2003, Alex Chudnovsky wrote:

 On Wednesday 29 January 2003 21:42, David Harel wrote:
  Alex,
 
  I posted a message to you and the group regarding my findings about the
  cable modem (attached below)
 I saw it, I just had no time to answer, sorry.
 
  Since I did not receive any reply I presumed I failed to send it. Could you
  verify that you got it and can you figure out how to help me in this
  matter?
 
  The updated request.
  Thanks everyone who replied, (it always gets me by a surprise that so many
  people are kind enough to
  spend their time and answer)
 
  OK, things are a little more difficult.
 
  To begin, with I failed to describe my machine. It is an HP omnibook
  laptop. It has network card built
  into it and a single USB port to which I hooked a USB HUB. I am running
  Linux RH 8.0.
  Since I jammed the linux installation I reinstalled everything from scratch
  (while the cable modem is
  connected to the USB via the HUB).
  In the installation process I was prompted for eth0 only. I gave it IP
  address 10.0.0.1
 
  It took me a while to figure out that after boot, eth0 is the USB cable
  modem. I was not able to
  reference eth1 at all.
 The following in /etc/modules.conf may help

 alias eth0 the_built_in_network_card_driver
 alias eth1 CDCEther

May, or may not.

Those aliases are used by RH and Mandrake in the networking startup.

/etc/init.d/network start calls 'ifup [interface]' for any interface that
should come up automatically
(/etc/sysconfig/network-scripts/ifcfg-[interfce] has ONBOOT=yes) . The
ifup script will first run 'modprobe [interface]' (e.g: 'modprobe eth0').

This can fail in a number of ways.

If you're having problems with that, create an additional init.d script
that has an empty 'stop' and 'restart' (maybe copy /etc/init.d.keytable )
that will load the relevant modules, by modprobe/insmod .

Alternatively, you can always edit /modules.conf and
/etc/sysconfig/network-scripts/ifcfg-eth*

Alternatively, don't havethem start ONBOOT . Have only loopback started
automatically. The ethernet adapters will be started later by your init.d
script. (this means, though, that this script is now responsible for
shutting them down). [messy, I know]


 
  What I do to make it work is:
 
 1.Stop network operations by the command:  /etc/init.d/network stop
 2.Disconnect the cable modem from  the USB hub.
 3.Start eth0 manually by the command:  ifconfig eth0 10.0.0.1 netmask
  255.255.255.0 up

'ifup eth0' ?

May require 'ifdown eth0' beforehand.

 4.Reconnect the cable modem to the USB hub.
 5.I fiddle a little with the start/stop of /etc/init.d/network and
  vualla. eth0 is the network card and
   eth1 is the usb cable modem.
 
  I would like it to go smoothly on boot time without fiddling that much.
  Also I would like to figure out
  which eth? is to which physical hardware thing.

 Driver that detects its hardware first ( meaning usually driver that is loaded
 first, except USB, PCMCIA and other hotplugs ), gets eth0. And I HATE THIS
 WAY, as it doesn't play well with hotplugging. This stupidity should have
 been improved before long.

How else can you identify eth0?

-- 
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: Mi SheMazbi'a - Mashpi'a!

2003-01-29 Thread shlomo solomon
On Wednesday 29 January 2003 19:46, Hetz Ben Hamo wrote:
  didn't you mean Alt-V W?

 Nope, here it's specifically said X...

screen capture enclosed - I rest my case ;-)

-- 
Shlomo Solomon
http://come.to/shlomo.solomon
Sent by KMail (KDE 3.0.3) on LINUX Mandrake 9.0


attachment: kmail-snap.png

Re: Globes article about Perl (and PHP)

2003-01-29 Thread Shaul Karl
On Wed, Jan 29, 2003 at 07:48:25PM +0200, Hetz Ben Hamo wrote:
  I'd be greatful if people with other browsers and/or platforms other
  than Linux would check the Globes site and let me know (in private mail
  if you don't want to bother the list) browser name/version/platform and
  where do you get stuck.
 
  I'll try to draw their attention to this.
 
 David Faure implemented some stubs to convince the globes site to work on 
 Konqueror, which seems looks mostly fine (although the upper part seems not 
 to appear - time to nag David again), but other then this Globes looks OK 
 with Konqueror 3.0.4 and above...
 


  I believe that it is preferable to have the Globes people fix their
site. Perhaps David Faure or someone else might post to this list what
is the exact points of failure and and how the site can fix it?
Hopefully it might help to fix the problem `upstream' and have both the
problem the solution recorded in the list archive.

-- 

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: Cabel modem installation.

2003-01-29 Thread Alex Chudnovsky
On Wednesday 29 January 2003 23:00, Tzafrir Cohen wrote:
 On Wed, 29 Jan 2003, Alex Chudnovsky wrote:
  On Wednesday 29 January 2003 21:42, David Harel wrote:
 
  Driver that detects its hardware first ( meaning usually driver that is
  loaded first, except USB, PCMCIA and other hotplugs ), gets eth0. And I
  HATE THIS WAY, as it doesn't play well with hotplugging. This stupidity
  should have been improved before long.

 How else can you identify eth0?
Why should it be eth0 and eth1 at all, and not cable_usb_modem_0 and 
internal_nic_0, for example?
-- 

Regards,
Alex Chudnovsky
e-mail : [EMAIL PROTECTED]
ICQ : 35559910


=
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: KDE 3.1 is out.

2003-01-29 Thread Tzafrir Cohen
On Wed, 29 Jan 2003, Hetz Ben Hamo wrote:

  (Does recent QT have font-config 2 support built-in, or do RedHat still
  have to patch this in? font-config2 is definitly one of the good things
  pushed by RH8. The only problem with it is that some legacy programs
  don't support it ;-) )

 Such as? I'm running Phoebe2 with many apps from apps.kde.org recompiled by
 myself, so far everything seems to be ok. The XFT2 patches in RH are
 of-course half baked and according to the rumors I heard, Trolltech warned
 Red Hat that if they don't stop those games, they'll remove RH QT RPMS from
 the supported list.

I don't know about phobe2. I grabbed the latest QT package from Rawhide
(qt-3.1.1-4). The base is qt-x11-free-3.1.1.tar.bz2 . There is also a
Xinerama tarball (is it used, by default?) and redhat's own default qtrc .

BW: the qtrc includes the following gem:

libraryPath=/root/.kde/lib/kde3/plugins/:/usr/lib/kde3/plugins/
(That package was built by root, aparantly)

There are numerous minor patches done in the prep phase itself not using
patches. This is natural: QT is a package that is supposed to work on many
platform, not only LSB linux. QT tries to be more self-contained (to be
easier to build) , and this is the standard with any (big enough) library.

A distro would like QT to build with as many system libraries and as few
built-in libraries, as this results in less (binary) code and probably
faster and smaller (at runtime) programs.

The patches there:

  qt-3.0.5-nodebug.patch  (651 bytes)

 Seems to remove two warnings (to make the code less scary?)


  qt-3.0.5-xim.patch (756 bytes)

 Seems to change the defaults for two config options. Related to CJK
 below, I guess


  qt-3.1.0-makefile.patch (449 bytes)

 Don't build the subdirs 'tutorial' and 'examples'


  qt-x11-free-3.1.0-assistant.patch (402 bytes)

 A small patch I don't understand: Patch
 qt-x11-free-3.1.0/tools/assistant/lib/lib.pro to add

  !force_static:!win32: {
CONFIG  -= staticlib
CONFIG  += dll
  }

 Maybe something to get it built?


  qt-x11-free-3.1.0-designer.patch (637 bytes)

Patch to qt-x11-free-3.1.0/tools/designer/designer/designer.pro .
Similar to the one above?


  qt-x11-free-3.1.0-editor.patch (370 bytes)

Patch to qt-x11-free-3.1.0/tools/designer/editor/editor.pro
This time:

  -CONFIG += qt warn_on staticlib
  -CONFIG -= dll
  +CONFIG += qt warn_on release dll

Is there anything bad in this?


  qt-x11-free-3.1.0-fontdatabase.patch (2028 bytes)

   I'm not sure I understand this patch correctly, but it seems that it is
   intended to give Xft fonts priority over leegacy X fonts, and also read
   some aliases by defualt (?).


  qt-x11-free-3.1.0-header.patch (411 bytes)

Rems-out printing of a certain header in
qt-x11-free-3.1.0/src/moc/moc.y


  qt-x11-free-3.1.0-lib64.patch (1284 bytes)

Patches qt-x11-free-3.1.0/config.tests/unix/checkavail to replace
*/lib  (at least on certain places) with */lib64 . Probablly required
for one of RH's 64ibt platforms.


  qt-x11-free-3.1.1-ansi.patch (354 bits)

A smallish ansi-c++ purity patch, I guess.


  qt-x11-free-3.1.1-monospace.patch (1306 bytes)

   I don't understand this patch. Seems to modify the definition of what
   is a monospaced font. Either this was a real problem, or this is
   intended to work around some broken fonts. No useful comments there.


  qt-x11-free-3.1.1-qmlined.patch (318 bytes)

A patch to qt-x11-free-3.1.1/src/compat/qmlined.h to #include
qtmultilineedit.h . Path untested by QT?


  qt-x11-free-3.1.1-qmotif.patch (922 bytes)

make qmotif the default style, and remove a message
QMotif requires a Qt/Enterprise edition

One of the changelog entries:

* Wed Nov 13 2002 Than Ngo [EMAIL PROTECTED] 3.1.0-1
- update to 3.1.0
- adjust some patch files for 3.1.0
- clean up specfile
- remove some Xft2 patch files, which are now in 3.1.0
- add qwidget_x11.cpp.diff from Trolltech
- install qt in %%{_libdir}/qt-3.1 (bug #77706)
- don't use rpath
- enable large file support
- use system Xinerama
- remove unneeded cups patch file
- fix to build against new XFree86

Providing quality QT packages takes patching.

If that scares anybody, you should take a look at the XFree tarball. This
one suffers from an over-dose of patches ;-)

-- 
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: Cabel modem installation.

2003-01-29 Thread Alex Chudnovsky
On Thursday 30 January 2003 00:52, Tzafrir Cohen wrote:
 What's the big deal?

 internal nic will get loaded as eth0 . That can be easily aranged. You Do
 want the internal nic loaded automatically with the network startup.
OK, let's check my own particular case. Currently, I have two computers 
connected into a little home network. The second computer is almost always 
switched off, so the home network is seldom run. Do you propose that I run 
the home network ( being off almost all the time ) as eth0? I personally 
prefer running it as eth1, so to avoid the case of eth0 down and eth1 up.

 However I'm not so sure how smart is it to load the external interface as
 a part of /etc/init.d/network start :


 Suppose that the cables network is unavailable for some reason . What
 happens then? You can't even access your computer from the local console,
 because it is still delayed trying to connect to the cables.
It has pretty sensible timeout, as far as I remember.

 On my home network I set it not to load the external NIC automatically.
 It is loaded from init.d, but only after sshd starts, so I have some
 access to my computer.

-- 

Regards,
Alex Chudnovsky
e-mail : [EMAIL PROTECTED]
ICQ : 35559910


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




OT: Net Loss of $100000000000 to AOL for 2002

2003-01-29 Thread Eli Marmor
Not yet slashdotted: AOL removed $45.5 billion in the last quarter.

Total loss in 2002 was $99 billion.

A new world record.

(and a way ahead of its followers; It's like breaking the record for
100 meter, in 2 seconds instead of 9.9).

As far as I understood, the total removals (charges in the official
terminology) in 2002, included $407M of ICQ. On the other hand, ICQ is
still claimed as one of the very few earning departments of AOL.

CNN compares the net loss to about half the projected budget deficit
for the entire federal government, or about 10 times the losses
forecast for the nation's troubled airline industry.

And contrary to the past, now they don't have any Case anymore...

http://money.cnn.com/2003/01/29/technology/aol/index.htm

-- 
Eli Marmor
[EMAIL PROTECTED]
CTO, Founder
Netmask (El-Mar) Internet Technologies Ltd.
__
Tel.:   +972-9-766-1020  8 Yad-Harutzim St.
Fax.:   +972-9-766-1314  P.O.B. 7004
Mobile: +972-50-23-7338  Kfar-Saba 44641, Israel

=
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: Cabel modem installation.

2003-01-29 Thread Tzafrir Cohen
On Thu, 30 Jan 2003, Alex Chudnovsky wrote:

 On Thursday 30 January 2003 00:52, Tzafrir Cohen wrote:
  What's the big deal?
 
  internal nic will get loaded as eth0 . That can be easily aranged. You Do
  want the internal nic loaded automatically with the network startup.
 OK, let's check my own particular case. Currently, I have two computers
 connected into a little home network. The second computer is almost always
 switched off, so the home network is seldom run. Do you propose that I run
 the home network ( being off almost all the time ) as eth0? I personally
 prefer running it as eth1, so to avoid the case of eth0 down and eth1 up.

What do you mean by off? The adapter itself plugged out of the computer?

I fit is not that, then you can simply load the module ('modprobe eth0' or
even more directly) to have the eth0 interface available, but not up.

Anyway, is there any reason not to have the network adapter always
connected?

-- 
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: OT: Net Loss of $100000000000 to AOL for 2002

2003-01-29 Thread Oleg Goldshmidt
Eli Marmor [EMAIL PROTECTED] writes:

 Not yet slashdotted: AOL removed $45.5 billion in the last quarter.
 
 Total loss in 2002 was $99 billion.
 
 A new world record.

Well, IIRC in September 2000 Intel lost $91 billion in  one
day... 

-- 
Oleg Goldshmidt | [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: OT: Net Loss of $100000000000 to AOL for 2002

2003-01-29 Thread guy keren

On 30 Jan 2003, Oleg Goldshmidt wrote:

 Eli Marmor [EMAIL PROTECTED] writes:
 
  Not yet slashdotted: AOL removed $45.5 billion in the last quarter.
  
  Total loss in 2002 was $99 billion.
  
  A new world record.
 
 Well, IIRC in September 2000 Intel lost $91 billion in  one
 day... 

you surely realize these are not losses 'in one day'. the stock value of 
the company (or of its holdings) dropped over a period of time, and in 
their reports for a given quarter, they decided to adjust their 'reported 
money worth' to (part of) this drop in stock prices. thus, this is loss 
just 'on paper', much like it was a gain just 'on paper' when the stock 
prices shot to the skies.

ofcourse, companies often use this opportunity to hide their real losses 
(most likely a few hundreads of millions of dollars, or a few 10s of 
millions) - but these numbers are quite small relative to the 'net worth' 
loss of the company, so nobody looks at them when they can shout 'hei, 
they lost billions of dollars the last quarter!'.

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