Re: set local time to server time

2002-06-11 Thread The Gyzmo

In your smb.conf file you can put the line 'time
server = yes' (without the single quoates) under the
[global] section and it will work for winbloze clients
with the 'net time' command.

--- Pablo Ferro [EMAIL PROTECTED] wrote:
 Hello! I recently installed Linux Red Hat 7.3
 I have a little problem. I share files and printers
 using Samba. I was
 wondering how could I set a Windows 2000 workstation
 time to get the time
 from the server, Linux. I used to run a net time
 command from the
 workstation to a Windows server, but how do you do
 that in linux.
 I have explored Samba docs, and didn't find
 anything.
 Also, I tried net time \\server and it yields an
 error.
 It should be pretty easy, right?
 Thank you in advance!
 Pablo.
 
 


=
+--+
|This message is from Serban Giuroiu, also known online|
|as The Gyzmo. |
|E-MAIL: g y z m o b r o @ y a h o o . c o m  (no spaces)  |
|GAIM Screen Name: g y z m o b r o  (no spaces)|
+--+
Code Smarter, Not Harder - off the Desaware t-shirt I have

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: why do you have to put '21' after /dev/null?

2002-06-07 Thread The Gyzmo

Thanks all, I understand now.
--- Javier Gostling [EMAIL PROTECTED] wrote:
 On Thu, 2002-06-06 at 20:04, The Gyzmo wrote:
  Why do you have to put '21' after '/dev/null'
 when
  piping something to /dev/null, like this:?
  
  [command]  /dev/null 21
 
 The  /dev/null redirects file descriptor 1
 (stdout) to /dev/null.
 
 The 21 redirects file descriptor 2 (stderr) to
 file descriptor 1
 (stdout, which was already redirected to /dev/null).
 
 The combined effect is to redirect both stdout and
 stderr to /dev/null,
 so that nothing goes to the terminal, unless the
 program itself does
 something funny with the file descriptors (not
 likely).
 
 Cheers,
 -- 
 Javier Gostling
 Ingeniero de Sistemas
 Virtualia S.A.
 [EMAIL PROTECTED]
 Fono: +56 (2) 202-6264 x 130
 Fax: +56 (2) 342-8763
 
 Av. Kennedy 5757, of 1502
 Las Condes
 Santiago
 Chile


=
+--+
|This message is from Serban Giuroiu, also known online|
|as The Gyzmo. |
|E-MAIL: g y z m o b r o @ y a h o o . c o m  (no spaces)  |
|GAIM Screen Name: g y z m o b r o  (no spaces)|
+--+
Code Smarter, Not Harder - off the Desaware t-shirt I have

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



why do you have to put '21' after /dev/null?

2002-06-06 Thread The Gyzmo

Why do you have to put '21' after '/dev/null' when
piping something to /dev/null, like this:?

[command]  /dev/null 21

=
+--+
|This message is from Serban Giuroiu, also known online|
|as The Gyzmo. |
|E-MAIL: g y z m o b r o @ y a h o o . c o m  (no spaces)  |
|GAIM Screen Name: g y z m o b r o  (no spaces)|
+--+
Code Smarter, Not Harder - off the Desaware t-shirt I have

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Intel AnyPoint Wireless Network in Linux?

2002-05-25 Thread The Gyzmo

Hello.

A friend recently gave me two Intel AnyPoint PCMCIA
cards to toy with and I got the USB based adapter
also. They work very well in Winbloze and I'd like to
use the PCMCIA cards for the two laptops in my house
rather than Ethernet.

Is the Intel AnyPoint system supported with Linux
right now? I'd like to have my Linux gateway serve the
laptops through the wireless USB adapter also and I
don't want to have a Winbloze box to be the gateway
for the gateway.

Whatever the procedure is, I don't mind having to
recompile the kernel if it doesn't require any
tweaking. I will be upgrading to Valhalla in the next
few days.

Any help is greatly appreciated as Google hasn't
turned up anything.

=
+--+
|This message is from Serban Giuroiu, also known online|
|as  The Gyzmo.|
|EMAIL: g y z m o b r o @ y a h o o . com  | 
|AIM Screen Name: gyzmobro |
+--+
Code Smarter, Not Harder - off the Desaware t-shirt I have

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Intel AnyPoint Wireless Network in Linux?

2002-05-25 Thread The Gyzmo


--- Steve Buehler [EMAIL PROTECTED] wrote:
 You might want to go to intel.com and look at the
 specs for the card to see 
 if it supports linux and if it does, check to see if
 you have to download 
 drivers and/or what versions of linux all ready
 support it built in.  You 
 will probably get an answer faster that way.
 
 Steve
 

At intel.com, it doesn't look like Linux is supported,
or at least officially.

 At 09:57 AM 5/25/2002 -0700, The Gyzmo wrote:
 Hello.
 
 A friend recently gave me two Intel AnyPoint PCMCIA
 cards to toy with and I got the USB based adapter
 also. They work very well in Winbloze and I'd like
 to
 use the PCMCIA cards for the two laptops in my
 house
 rather than Ethernet.
 
 Is the Intel AnyPoint system supported with Linux
 right now? I'd like to have my Linux gateway serve
 the
 laptops through the wireless USB adapter also and I
 don't want to have a Winbloze box to be the gateway
 for the gateway.
 
 Whatever the procedure is, I don't mind having to
 recompile the kernel if it doesn't require any
 tweaking. I will be upgrading to Valhalla in the
 next
 few days.
 
 Any help is greatly appreciated as Google hasn't
 turned up anything.


=
+--+
|This message is from Serban Giuroiu, also known online|
|as  The Gyzmo.|
|EMAIL: g y z m o b r o @ y a h o o . com  | 
|AIM Screen Name: gyzmobro |
+--+
Code Smarter, Not Harder - off the Desaware t-shirt I have

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Samba Questions

2002-05-20 Thread The Gyzmo


--- Michael S. Dunsavage [EMAIL PROTECTED] wrote:
 Did you add the user to a samba passwd file?
 
 should be the same username/password as logging into
 w98.  Also set up samba
 to use non-ecrypted passwords (erm I may have this
 backwards, someone
 confirm/deny please).

For Winbloze 98 use encrypted passwords.

 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Dave Lewis
 Sent: Monday, May 20, 2002 9:34 AM
 To: [EMAIL PROTECTED]
 Subject: Samba Questions
 
 
 Hi I'm wondering if anyone has any experience
 with Samba here's my
 issue..
 
 Linux server and win98 client
 
 I would like to have 2 shares that are readable by
 everyone.
 one of the two shares is writable by everyone and
 one is only writable by a
 specific user.
 
 I believe I should be using the
 
 security = share
 
 option but nothing I seem to be doing works.. I keep
 getting one of 2
 errors on the windows machine
 
 enter password for //linuxbox/IPC$
 or
 \\Linuxbox is not accessable
 no permission to access resource.
 
 Can anyone give me some examples of what my smb.conf
 file should look like
 and/or explain what I'm doing wrong ?
 
 Thanks,
 
 Dave
 
 
 
 
 ___
 Redhat-list mailing list
 [EMAIL PROTECTED]

https://listman.redhat.com/mailman/listinfo/redhat-list
 
 
 
 ___
 Redhat-list mailing list
 [EMAIL PROTECTED]

https://listman.redhat.com/mailman/listinfo/redhat-list


=
+--+
|This message is from Serban Giuroiu, also known online|
|as  The Gyzmo.|
|EMAIL: g y z m o b r o @ y a h o o . com  | 
|AIM Screen Name: gyzmobro |
+--+
Code Smarter, Not Harder - off the Desaware t-shirt I have

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



TO ALL WHO HAVE JUST RECENTLY ASKED ABOUT 3D ACCELERATION

2002-05-19 Thread The Gyzmo

Go to http://dri.sourceforge.net/ and look at the
documentation page, it will help you a lot.

=
+--+
|This message is from Serban Giuroiu, also known online|
|as  The Gyzmo.|
|EMAIL: g y z m o b r o @ y a h o o . com  | 
|AIM Screen Name: gyzmobro |
+--+
Code Smarter, Not Harder - off the Desaware t-shirt I have

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Is My Linux Box Secure Enough?

2002-05-16 Thread The Gyzmo

Thank you all for your suggestions. I will use them.

--- Rodolfo J. Paiz [EMAIL PROTECTED] wrote:
 At 5/15/2002 10:05 AM +1000, you wrote:
 
 You're doing this backwards. What you want is:
 
  /sbin/ipchains -P input REJECT
  /sbin/ipchains -P output REJECT
  /sbin/ipchains -P forward DENY
 
 and then a bunch of rules to ACCEPT _only_ what you
 expect.
 Much much safer.
 
 Good advice. Better still is to use:
 
  /sbin/ipchains -P input DENY
  /sbin/ipchains -P output DENY
  /sbin/ipchains -P forward REJECT
 
 People trying to get into your box will get their
 packets silently dropped 
 and receive a timeout, whily you, trying to get out,
 will receive an 
 immediate error if you've misconfigured something.
 This is less unpleasant 
 than waiting minutes for your own firewall to time
 you out.
 
 Note that you should explicitly REJECT connections
 to port 113 from the 
 outside in order to avoid timeouts due to IDENT
 requests. For example, when 
 you try to send mail, some servers will send back an
 IDENT request on 
 113/tcp. If you DENY that, you'll sit there waiting
 for a minute while the 
 request times out; if you REJECT it, you'll get much
 quicker results.
 
 Finally, running your script *once*, making sure
 your firewall is 
 configured how you want it, then issuing the
 service ipchains save 
 command, will make your configuration permanent. You
 do not need to rerun 
 the script every time from rc.local. Then, if you
 want to make changes, you 
 change your script, rerun your script, and again
 issue service ipchains 
 save to save your changes.
 
 
 -- 
 Rodolfo J. Paiz
 [EMAIL PROTECTED]



=
+--+
|This message is from Serban Giuroiu, also known online|
|as  The Gyzmo.|
|EMAIL: g y z m o b r o @ y a h o o . com  | 
|AIM Screen Name: gyzmobro |
+--+
Code Smarter, Not Harder - off the Desaware t-shirt I have

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Is My Linux Box Secure Enough?

2002-05-14 Thread The Gyzmo

Hello all.

I got DSL about a month ago and with all the recent
threads about people being cracked, I'm starting to
get worried that my firewall might not be very good. I
have a RHL 7.2 machine which I will upgrade to 7.3 as
soon as I can find a server to download it from that's
fast enough. I'm using ipchains.

Basically I run a script to implement my firewall from
/etc/rc.d/rc.local that's the same as the one that
comes with rp-pppoe. This box is my gateway, by the
way. Here is the script:

[START OF SCRIPT]

#!/bin/bash

#flush all previous rules
/sbin/ipchains -F

#modify chains
/sbin/ipchains -P input ACCEPT
/sbin/ipchains -P output ACCEPT
/sbin/ipchains -P forward DENY

#deny TCP connection attempts
/sbin/ipchains -A input -l -i ppp+ -p tcp -y -j DENY

#deny TCP and UDP packets to privileged ports (1-1023)
/sbin/ipchains -A input -l -i ppp+ -d 0/0 0:1023 -p
udp -j DENY
/sbin/ipchains -A input -l -i ppp+ -d 0/0 0:1023 -p
tcp -j DENY

#deny ICMP echo-requests (pings)
/sbin/ipchains -A input -l -i ppp+ -s 0/0 echo-request
-p icmp -j DENY

#masquerading
/sbin/ipchains -A forward -j MASQ
echo 1  /proc/sys/net/ipv4/ip_forward

#save configuration
service ipchains save

[END OF SCRIPT]

As I see, this script doesn't allow people on the
outside to use services like telnet and ftp (which I
have running for the internal network) on my box. Does
it do that well or should I add some more rules to it?

I want to only allow traffic for the web, SMTP, POP3,
ftp, AIM, battle.net, etc, and nothing else, but I'm
wondering if you go through the same ports on the
client as you do on the server for these things. For
example, when you go to a web site, you usually access
port 80 on the server, but does it also go through
port 80 on the client? If so, how would I implement
rules that only allow traffic through those ports?

Should I also block connection attempts through UDP
and IPX?

I hope these questions aren't very stupid because I
havn't found the documentation for ipchains to be that
great, and especially for iptables, which I'd like to
switch to. If there are any great web sites with
examples of what I'm trying to achieve here, please
send an URL.

Are there any other things I should add to my firewall
to make it better?

Thanks to all who reply in advance.


=
+--+
|This message is from Serban Giuroiu, also known online|
|as  The Gyzmo.
|  
|   |
|EMAIL: g y z m o b r o @ y a h o o . com  | 
|AIM Screen Name: gyzmobro |
+--+
Code Smarter, Not Harder

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Using a Joystick Instead of a Mouse?

2002-05-02 Thread The Gyzmo

Hello. 

I have a Linux box on which my mouse is getting
annoying (the buttons need to be pushed harder than
usual and the ball needs cleaning often) and I'd like
to replace it with a joystick to do all of the jobs a
mouse does with the joystick.

Is this achievable as of now for an unupdated RHL 7.2
box with kernel 2.4.7-10? If so, please send an URL,
as Google has turned up nothing for me so far.

Thank you all for any advice in advance.

=
This message is from Serban Giuroiu, also known online as The Gyzmo.
 g y z m o b r o @ y a h o o . com  AIM Screen Name: gyzmobro

Code Smarter, Not Harder
~

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Firewall, telnet, ftp

2002-04-25 Thread The Gyzmo


--- Cesar Moya [EMAIL PROTECTED] wrote:
 Hi again:
 
 Yes, it is working now.  I put two machines in
 /etc/hosts.allow and ALL:ALL line in hosts.deny.  
 
 I was doing some reading in different sites to get
 the
 right format and found out that there is one more
 thing. 
 Not too important probably, but that I would like to
 try.
 
 When I make telnet to my linux box I can see the a
 message
 saying I am running RH7.2 version of Linux and the
 kernel
 information as well.  Many sites suggested to remove
 that
 message and replace by another one.
 
 I have to change two files /etc/issue and
 /etc/issue.net
 where the message originates.  However, those two
 files are
 re-written everytime I boot, so even if I change
 them, I
 will still have the same problem next time I start
 the
 machine.  The way to avoid that was by doing
 something in
 the /etc/rc.d/rc.local file, but that something is
 what I
 would like to know exactly how to do.  The websites
 I
 visited were not very clear on that point.
 
 Do I have to write the message there? Re-direct the
 input
 to /etc/issue using a script? Make a link?  
 
 Cesar
 

In your /etc/rc.d/rc.local file you could put:

echo whatever text you want  /etc/issue
echo whatever text you want  /etc/issue.net

or if your text is in a file:

cp /dir/file /etc/issue
cp /dir/file /etc/issue.net



=
This message is from Serban Giuroiu, also known online as The Gyzmo.
 g y z m o b r o @ y a h o o . com  AIM Screen Name: gyzmobro

Code Smarter, Not Harder
~

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: DHCPd Not Working SOLVED

2002-04-22 Thread The Gyzmo

I've changed my dhcpd.conf to match the format of
yours, Rodolfo, and everything works perfectly now,
for both Linux and Windows Thanks to all who have
helped me!

--- Rodolfo J. Paiz [EMAIL PROTECTED] wrote:
 At 4/21/2002 12:26 PM -0700, you wrote:
 Here is my /etc/dhcpd.conf file:
 -
  range dynamic-bootp 172.16.10.2
 172.16.10.254;
 
 Why do you have dynamic-bootp in there? Also, this
 needs to be inside a 
 subnet declaration so it's incomplete. For
 reference, at the end of this 
 mail is my dhcpd.conf file which does work well.
 
 Also, since you're connected to the DSL you'll need
 to ensure that your 
 dhcpd *only* services your internal network. In my
 case this is eth1, so 
 see the file /etc/sysconfig/dhcpd for the right
 changes (documented below). 
 Then issue a service dhcpd restart.
 
 [rpaiz@firewall sysconfig]$ cat /etc/sysconfig/dhcpd
 # Command line options here
 DHCPDARGS=eth1
 
 [rpaiz@firewall rpaiz]$ cat /etc/dhcpd.conf
 # dhcpd.conf
 
 #
 # Global Parameters
 #
 
 max-lease-time  86400;
 default-lease-time  86400;
 
 
 #
 # DHCP Client Options
 #
 
 option domain-name  suma-csi.com;
 option domain-name-servers  192.168.0.1;
 option ntp-servers  192.168.0.1;
 option routers  192.168.0.1;
 
 
 #
 # Configuration
 #
 
 allow   unknown-clients;
 denybootp;
 
 
 #
 # Network Declaration
 #
 
 shared-network SUMA {
  subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.101 192.168.0.254;
  }
 }
 
 
 #
 # User Configuration
 #
 #
 #group {
 #   use-host-decl-names on;
 #
 #   host rodolfo {
 #   hardware ethernet  
 00:00:86:56:C9:F2;
 #   fixed-address  
 192.168.0.101;
 #   }
 #
 #   host daniela {
 #   hardware ethernet  
 00:e0:98:73:e5:8e;
 #   fixed-address  
 192.168.0.102;
 #   }
 #}
 #
 
 
 -- 
 Rodolfo J. Paiz
 [EMAIL PROTECTED]


=
This message is from Serban Giuroiu, also known online as The Gyzmo.
 g y z m o b r o @ y a h o o . com  AIM Screen Name: gyzmobro

Code Smarter, Not Harder
~

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



DHCPd Not Working

2002-04-21 Thread The Gyzmo

Hello list members.

I've just configured my Red Hat 7.2 box as a gateway
for DSL and I've started using DHCPd again. The
problem is that the clients aren't getting an IP
address. I know the service is running because I did
ps-aux | grep dhcpd and it shows that
/usr/sbin/dhcpd is running. Here is the error I get on
a Windows client when trying to renew the ethernet
adapter:
-
Error

DHCP Server Unavailible: Renewing Adapter
-

On the server, in /var/log/messages, this is what is
outputted when I try renewing the adapter in Windows:
-
Apr 21 12:08:57 commandcenter dhcpd: DHCPREQUEST for
172.16.11.1 from 00:c0:4f:a1:a3:53 via eth0
-

On a Linux client when restarting the network there is
no error, but simply it uses an old address that was
once assigned to it (don't know how long ago) and in
both the client's and server's /var/log/messages there
are no errors.

Here is my /etc/dhcpd.conf file:
-
subnet 172.16.0.0 netmask 255.255.0.0
{
option subnet-mask  255.255.0.0;

option routers  172.16.10.1;

option domain-name 
bogus.domain;

option domain-name-servers  63.203.35.55,
206.13.28.12;

option time-offset  -18000; # Eastern Standard Time

range dynamic-bootp 172.16.10.2 172.16.10.254;

default-lease-time 64800; # 18 hrs.

max-lease-time 86400; # 24 hrs.
}
-

I've looked in some books and the DHCP mini-HOWTO and
I think I've done everything right. Can someone help
me?

Thank you in advance.

=
-
This message is from Serban Giuroiu, also known online as The Gyzmo.
 g y z m o b r o @ y a h o o . com  AIM Screen Name: gyzmobro

Code Smarter, Not Harder
~

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: DHCPd Not Working

2002-04-21 Thread The Gyzmo


--- Kjetil Tjensvold [EMAIL PROTECTED] wrote:
 Have you enabled ip-forwarding and bridge on your
 linux-box.
 I assume the clients is getting the ip adress
 through
 your linuxbox??? 


In my ipchains script that runs on every boot I have:
-
ipchains -A forward -j MASQ
echo 1  /proc/sys/net/ipv4/ip_forward
-

My problem is with DHCP; IP forwarding works fine.

 --- The Gyzmo [EMAIL PROTECTED] skrev:  Hello
 list
 members.
  
  I've just configured my Red Hat 7.2 box as a
 gateway
  for DSL and I've started using DHCPd again. The
  problem is that the clients aren't getting an IP
  address. I know the service is running because I
 did
  ps-aux | grep dhcpd and it shows that
  /usr/sbin/dhcpd is running. Here is the error I
 get
  on
  a Windows client when trying to renew the ethernet
  adapter:
  -
  Error
  
  DHCP Server Unavailible: Renewing Adapter
  -
  
  On the server, in /var/log/messages, this is what
 is
  outputted when I try renewing the adapter in
  Windows:
  -
  Apr 21 12:08:57 commandcenter dhcpd: DHCPREQUEST
 for
  172.16.11.1 from 00:c0:4f:a1:a3:53 via eth0
  -
  
  On a Linux client when restarting the network
 there
  is
  no error, but simply it uses an old address that
 was
  once assigned to it (don't know how long ago) and
 in
  both the client's and server's /var/log/messages
  there
  are no errors.
  
  Here is my /etc/dhcpd.conf file:
  -
  subnet 172.16.0.0 netmask 255.255.0.0
  {
  option subnet-mask  255.255.0.0;
  
  option routers  172.16.10.1;
  
  option domain-name 
  bogus.domain;
  
  option domain-name-servers  63.203.35.55,
  206.13.28.12;
  
  option time-offset  -18000; # Eastern Standard
 Time
  
  range dynamic-bootp 172.16.10.2 172.16.10.254;
  
  default-lease-time 64800; # 18 hrs.
  
  max-lease-time 86400; # 24 hrs.
  }
  -
  
  I've looked in some books and the DHCP mini-HOWTO
  and
  I think I've done everything right. Can someone
 help
  me?
  
  Thank you in advance.
  
  =
  -
  This message is from Serban Giuroiu, also known
  online as The Gyzmo.
   g y z m o b r o @ y a h o o . com  AIM Screen
  Name: gyzmobro
  
  Code Smarter, Not Harder
  ~
  
  __
  Do You Yahoo!?
  Yahoo! Games - play chess, backgammon, pool and
 more
  http://games.yahoo.com/
  
  
  
  ___
  Redhat-list mailing list
  [EMAIL PROTECTED]
 

https://listman.redhat.com/mailman/listinfo/redhat-list
 
 =
 Investigating the Norwegain 4.th Secret Service
 The multiheaded animal.
 http://hjem.sol.no/altiett/knut_ove_hauge_kuren.htm
 

__
 Sjekk snørapporter...
 fra 500 ski-destinasjoner i Europa
 på http://no.snow.yahoo.com/



=
This message is from Serban Giuroiu, also known online as The Gyzmo.
 g y z m o b r o @ y a h o o . com  AIM Screen Name: gyzmobro

Code Smarter, Not Harder
~

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: DHCPd Not Working

2002-04-21 Thread The Gyzmo


--- Kjetil Tjensvold [EMAIL PROTECTED] wrote:
 You do have 2 nic's?
 But they dont get ip-adresses from yor ISP
 dedicated.
 Some ISP only support one dynamic IP-address at the
 time and dont allow several PC's connected.
 It seems that they dont receive any ip-adress at
 all.If u have 2 nic's you must enable bridging
 between
 the 2 cards or run the linuxbox as a router. 

I do have 2 NICs. eth0 is for the internel network and
eth1 is connected to my DSL modem. I use rp-pppoe to
automatically connect to my ISP apon boot. My Linux
box is a router and IP masquerading works fine when my
clients are manually configured with an IP address,
subnet mask, gateway IP address, and DNS server
addresses. For some reason the DHCP server on my Linux
box doesn't seem to work anymore and I'd like to know
how to fix that.

 --- The Gyzmo [EMAIL PROTECTED] skrev:  
  --- Kjetil Tjensvold [EMAIL PROTECTED] wrote:
   Have you enabled ip-forwarding and bridge on
 your
   linux-box.
   I assume the clients is getting the ip adress
   through
   your linuxbox??? 
  
  
  In my ipchains script that runs on every boot I
  have:
  -
  ipchains -A forward -j MASQ
  echo 1  /proc/sys/net/ipv4/ip_forward
  -
  
  My problem is with DHCP; IP forwarding works fine.
  
   --- The Gyzmo [EMAIL PROTECTED] skrev: 
 Hello
   list
   members.

I've just configured my Red Hat 7.2 box as a
   gateway
for DSL and I've started using DHCPd again.
 The
problem is that the clients aren't getting an
 IP
address. I know the service is running because
 I
   did
ps-aux | grep dhcpd and it shows that
/usr/sbin/dhcpd is running. Here is the error
 I
   get
on
a Windows client when trying to renew the
  ethernet
adapter:
-
Error

DHCP Server Unavailible: Renewing Adapter
-

On the server, in /var/log/messages, this is
  what
   is
outputted when I try renewing the adapter in
Windows:
-
Apr 21 12:08:57 commandcenter dhcpd:
 DHCPREQUEST
   for
172.16.11.1 from 00:c0:4f:a1:a3:53 via eth0
-

On a Linux client when restarting the network
   there
is
no error, but simply it uses an old address
 that
   was
once assigned to it (don't know how long ago)
  and
   in
both the client's and server's
 /var/log/messages
there
are no errors.

Here is my /etc/dhcpd.conf file:
-
subnet 172.16.0.0 netmask 255.255.0.0
{
option subnet-mask  255.255.0.0;

option routers  172.16.10.1;

option domain-name 
bogus.domain;

option domain-name-servers  63.203.35.55,
206.13.28.12;

option time-offset  -18000; # Eastern
 Standard
   Time

range dynamic-bootp 172.16.10.2
 172.16.10.254;

default-lease-time 64800; # 18 hrs.

max-lease-time 86400; # 24 hrs.
}
-

I've looked in some books and the DHCP
  mini-HOWTO
and
I think I've done everything right. Can
 someone
   help
me?

Thank you in advance.

=
-
This message is from Serban Giuroiu, also
 known
online as The Gyzmo.
 g y z m o b r o @ y a h o o . com  AIM
 Screen
Name: gyzmobro

Code Smarter, Not Harder
~

   
  __
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool
 and
   more
http://games.yahoo.com/



   
 ___
Redhat-list mailing list
[EMAIL PROTECTED]
   
  
 

https://listman.redhat.com/mailman/listinfo/redhat-list
   
   =
   Investigating the Norwegain 4.th Secret Service
   The multiheaded animal.
  
 
 http://hjem.sol.no/altiett/knut_ove_hauge_kuren.htm
   
  
 

__
   Sjekk snørapporter...
   fra 500 ski-destinasjoner i Europa
   på http://no.snow.yahoo.com/
  
  
  
  =
  This message is from Serban Giuroiu, also known
  online as The Gyzmo.
   g y z m o b r o @ y a h o o . com  AIM Screen
  Name: gyzmobro
  
  Code Smarter, Not Harder
  ~
  
  __
  Do You Yahoo!?
  Yahoo! Games - play chess, backgammon, pool and
 more
  http://games.yahoo.com/
  
  
  
  ___
  Redhat-list mailing list
  [EMAIL PROTECTED]
 

https://listman.redhat.com/mailman/listinfo/redhat-list
 
 =
 Investigating the Norwegain 4.th Secret Service
 The multiheaded animal.
 http://hjem.sol.no/altiett/knut_ove_hauge_kuren.htm
 

__
 Sjekk snørapporter...
 fra 500 ski-destinasjoner i Europa
 på http://no.snow.yahoo.com/


=
This message is from Serban Giuroiu, also known online as The Gyzmo.
 g y z m o b r o @ y a h o o . com  AIM Screen Name: gyzmobro

Code

RE: DHCPd Not Working

2002-04-21 Thread The Gyzmo


--- Owen V. Gray [EMAIL PROTECTED] wrote:
 It looks like your windows client is trying to renew
 a lease
 for ip# 176.16.11.1 when your router only serves up
 leases
^^
 in the range 172.16.10.2 - 172.16.10.254
 ^^
 
 Have you tried causing the windows client to release
 its lease and seek
 a new one?

Releasing and then renewing seems to work. My Windows
client is now working, but my Linux client is
recieving everything but DNS server addresses. How can
I make those appear on the system without manually
putting them in resolv.conf?

 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
 The Gyzmo
  Sent: April 21, 2002 3:26 PM
  To: [EMAIL PROTECTED]
  Subject: DHCPd Not Working
 
 
  Hello list members.
 
  I've just configured my Red Hat 7.2 box as a
 gateway
  for DSL and I've started using DHCPd again. The
  problem is that the clients aren't getting an IP
  address. I know the service is running because I
 did
  ps-aux | grep dhcpd and it shows that
  /usr/sbin/dhcpd is running. Here is the error I
 get on
  a Windows client when trying to renew the ethernet
  adapter:
  -
  Error
 
  DHCP Server Unavailible: Renewing Adapter
  -
 
  On the server, in /var/log/messages, this is what
 is
  outputted when I try renewing the adapter in
 Windows:
  -
  Apr 21 12:08:57 commandcenter dhcpd: DHCPREQUEST
 for
  172.16.11.1 from 00:c0:4f:a1:a3:53 via eth0
  -
 
  On a Linux client when restarting the network
 there is
  no error, but simply it uses an old address that
 was
  once assigned to it (don't know how long ago) and
 in
  both the client's and server's /var/log/messages
 there
  are no errors.
 
  Here is my /etc/dhcpd.conf file:
  -
  subnet 172.16.0.0 netmask 255.255.0.0
  {
  option subnet-mask  255.255.0.0;
 
  option routers  172.16.10.1;
 
  option domain-name
  bogus.domain;
 
  option domain-name-servers  63.203.35.55,
  206.13.28.12;
 
  option time-offset  -18000; # Eastern Standard
 Time
 
  range dynamic-bootp 172.16.10.2 172.16.10.254;
 
  default-lease-time 64800; # 18 hrs.
 
  max-lease-time 86400; # 24 hrs.
  }
  -
 
  I've looked in some books and the DHCP mini-HOWTO
 and
  I think I've done everything right. Can someone
 help
  me?
 
  Thank you in advance.
 
  =
  -
  This message is from Serban Giuroiu, also known
 online as The Gyzmo.
   g y z m o b r o @ y a h o o . com  AIM Screen
 Name: gyzmobro
 
  Code Smarter, Not Harder
  ~


=
This message is from Serban Giuroiu, also known online as The Gyzmo.
 g y z m o b r o @ y a h o o . com  AIM Screen Name: gyzmobro

Code Smarter, Not Harder
~

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: DHCPd Not Working

2002-04-21 Thread The Gyzmo


--- Mike Burger [EMAIL PROTECTED] wrote:
 On Sun, 21 Apr 2002, The Gyzmo wrote:
 
   Have you tried causing the windows client to
 release
   its lease and seek
   a new one?
  
  Releasing and then renewing seems to work. My
 Windows
  client is now working, but my Linux client is
  recieving everything but DNS server addresses. How
 can
  I make those appear on the system without manually
  putting them in resolv.conf?
 
 Do you have option domain-name-servers
 xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy 
 in your dhcpd.conf file?

Yes, I do. Just a check, isn't there supposed to be a
semicolen at the end of that, like this:
option domain-name-servers 63.203.35.55, 206.13.28.12;
?


=
This message is from Serban Giuroiu, also known online as The Gyzmo.
 g y z m o b r o @ y a h o o . com  AIM Screen Name: gyzmobro

Code Smarter, Not Harder
~

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: using samba without logging in

2002-04-16 Thread The Gyzmo


--- christopher j bottaro [EMAIL PROTECTED] wrote:
 sorry for not being specific enough.  i tried to
 mimic the commented [public] 
 share, but no luck...=(   here's what i got.
 
 [global]
 security level = share
 
 [cjb_music]
comment = Chris' music
path = /home/cjb/music
read only = yes
public = yes
guest ok = yes
 
 i can see the share in win2k and winxp, but when i
 double click on it, it says 
 inaccessable, network name cannot be found.
 
 what am i overlooking?

Make sure you have encrypt passwords = yes in your
[globals] section.


=


 
This message is from Serban Giuroiu, also known online as The Gyzmo. 
g y z m o b r o @ y a h o o . com AIM Screen Name: gyzmobro

Code Smarter, Not Harder


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Where have all the colors gone? WAS:cd in a Shell Script

2002-03-31 Thread The Gyzmo

cdl () { cd $1;ls -l --color=yes; } works, but is there a way I can add
the 'more' command to it?

Serban Giuroiu

  Thanks a lot, your tip works, but now I have a new problem: the colors
  are gone when I run the command. For example, when you run 'ls', there
  are different colors to distinguish the folders, text files,
  executables, etc, but it's all only one color now (in my case green
  because my setup is green on black). How can I make the different colors
  appear?
 
 The colors still work for me.  You must not have the   color=yes part
 being exported into your environment.
 
 This will probabley work
 
 cdl () { cd $1;ls -l --color=yes; }



Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Where have all the colors gone? WAS:cd in a Shell Script

2002-03-31 Thread The Gyzmo

Thanks to all who have helped me achieve what I wanted to do, all your
suggestions have helped.

Serban Giuroiu

 cdl () { cd $1;ls -l --color=yes | more; } 
 should do it.


Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



cd in a Shell Script

2002-03-30 Thread The Gyzmo

Hello. I've written a short shell script to change my directory and 
display the contents at once because I'm sick of having to do 'cd dir' 
then 'ls -l'. My problem is that once the program is done executing, my 
directory remains the same. Here's my script:

#!/bin/bash
cd $1
ls -lh | more

How can I solve this problem?
-
Thanks in advance,

Serban Giuroiu

Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Where have all the colors gone? WAS:cd in a Shell Script

2002-03-30 Thread The Gyzmo

Thanks a lot, your tip works, but now I have a new problem: the colors
are gone when I run the command. For example, when you run 'ls', there
are different colors to distinguish the folders, text files,
executables, etc, but it's all only one color now (in my case green
because my setup is green on black). How can I make the different colors
appear?

Serban Giuroiu
--
  Hello. I've written a short shell script to change my directory and 
  display the contents at once because I'm sick of having to do 'cd dir' 
  then 'ls -l'. My problem is that once the program is done executing, my 
  directory remains the same. Here's my script:
 
  #!/bin/bash
  cd $1
  ls -lh | more
 
  How can I solve this problem?

 
 The shell invoked by the script is the one doing the cd'ing.  Not your
 shell.
 
 A better faster and generally cool way to do this sort of thing is
 with functions in your .bashrc (or other login init files)
 
 For the the functionality you wanted above it would look like this:
 
 cdl () { cd $1;ls -lh|more; }
 
 NOTE: The spaces after/before {} are important.
   The `;' after `more' is vital too.
 NOTE: `cdl' is just an arbitrary name.  It could be anything.
 
 With that in .bashrc you would have a new command at the prompt.
 
 Type: `cdl dir'
 
 And presto: moved and listed.
 
 In order to get it into your environment as you write it, you will
 need to source .bashrc after inserting the line like:
 
 source ~/.bashrc
 
 You should be able to cut and paste the line above to get the idea of
 what it will do. 
 
 Just put it in a file named test for now, to see what it does.
 (remember to source what ever file you put it in)
  source test  
 or  
  . test



Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: telnet help please

2002-03-27 Thread The Gyzmo

If your /etc/xinetd.d/telnet file has a disable = yes line, that
service will not work. You can double check that by running chkconfig
--list and see what services are enabled or not, including xinetd based
services. To enable by command line, type in chkconfig telnet on.

Serban Giuroiu


Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list