Re: How to configure eth0 with static ip and eth1 dhcp

2014-02-23 Thread Rod James Bio
On 2/23/14, 10:09, Markos wrote:
> On 22-02-2014 20:11, Scott Ferguson wrote:
>> On 23/02/14 09:58, Stephen Powell wrote:
>>   
>>> On Sat, 22 Feb 2014 17:22:16 -0500 (EST), Markos wrote:
>>> 
 I'm trying to configure a machine with two network cards to share
 Internet access to an internal network

 the /etc/network/interface is:

 # The loopback network interface
 auto lo
 iface lo inet loopback

 auto eth0
 iface eth0 inet static
   address 192.168.0.1
   netmask 255.255.255.0

 auto eth1
 iface eth1 inet dhcp

 The card eth0 is used as gateway on the internal network with static IP
 192.168.0.1 and eth1 is connected to the B-890 -53 Huawei modem.

 But the modem do not send an IP during initialization.

 The IP of modem is 192.168.1.1.

 The modem sends the IP address (192.168.0.4) to my laptop by wifi
 without problems.

 Any suggestions of what I should check?

>>> I'm afraid that I don't understand the problem.  Is this a traditional
>>> async dial-up modem?  If so, I would expect it to be configured with
>>> ppp,
>>> its interface name would be ppp0, and it would not be listed in
>>> /etc/network/interfaces at all.  I don't get it.
>>>
>>>  
>> I'm guessing it's a cdc_ether device - probably running a web and dn
>> server at 192.168.0.100.  Hopefully the OP will correct my assumption
>> (Vendor and Product codes from dmesg?).
>> I'm not familiar with that particular model - but I've had to hack Linux
>> support for the chipset either side of it (model number).
>>
>>
>> Kind regards
>>
>>
>>
> Dear Scot and Stephen,
> 
> I am using this model of modem:
> 
> http://www.4glterouter.de/huawei-b890-4g-lte-smart-hub.html
> 
> I just tested on another machine and the modem supplied the IP to my
> laptop via wireless and IP to a computer (with 1 NIC) via ethernet
> without problem.
> 
> Tomorrow I'll change the network card (of the machine with 2 NICs) and
> test again to see if the problem is the network card.
> 
> Thanks for your attention,
> Markos
> 
> 
Hi,

If you are having problems with DHCP then why not set eth1 to a static IP?

auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0

auto eth1
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.X
gateway 192.168.1.1

I usually don't set a gateway to the LAN interface in the settings.

*Rod Bio *

Random fortune: /Never try to explain computers to a layman. It's easier
to explain sex to a virgin. -- Robert Heinlein (Note, however, that
virgins tend to know a lot about computers.) /


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5309f2c6.4050...@gmail.com



Re: Mail server recommendations

2010-10-27 Thread Rod James Bio
Postfix + Cyrus + SASL for simple users. You can add spamassassin + 
pyzor/rzor & config your SASL to use LDAP or other auth method. For me 
postfix + cyrus is just a better combi.


On Wednesday, 27 October, 2010 04:13 PM, Alan Chandler wrote:

On 26/10/10 13:20, Carlos Mennens wrote:

On Tue, Oct 26, 2010 at 8:13 AM, Camaleón  wrote:

I like Postfix and Dovecot :-)


I think Postfix is the best open source MTA available on Linux hands
down. I have used Sendmail, Qmail, and Exim and none of them have
given me the flexability and security of Postfix.


I'll just throw in a counter view here.  I currently use Exim - 
starting from the base as configured by Debian and then tweaked to 
match my requirements.  In particular, I am able to use the 
flexibility that the Exim system provides (for example) understand the 
difference between mail for me personally and mail for my business 
account and put them into different Unix accounts  (I use Courier IMAP 
to provide support to read e-mail) and all this despite using the same 
name.


Another tweak I made is to automatically copy and save all outgoing 
mail that originated locally. Again a tweak I couldn't find out how to 
simply do in Postfix.


Previously when I ran mailman mailing lists on the same machine,  I 
was able to have Exim handle them automatically (ie no change to the 
Exim configuration when I added or removed a mailing list).  Again, I 
couldn't find a way with Postfix to set that up.


Now I accept that I may not be an expert at Postfix, and as such may 
have missed the way to achieve the flexibility, but just reading and 
comparing facilities in the Exim and Postfix documentation has always 
led me to believe that Exim had the ability to tweak things at much 
more detail than Postfix.


As I said above, I have stuck with Courier IMAP to provide both IMAP 
(for locally connected computers) and IMAPS for external devices (my 
iPhone).  This has also performed flawlessly for me with the standard 
configuration provided by Debian.








--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cc81a35.6050...@gmail.com



Re: ia64? amd64

2010-09-02 Thread Rod James Bio
Depends on your Machine CPU. amd64 for 64bit( Core 2 Duos line for intel )
CPU. IA64(Itanium 64) high end CPU's mostly for server lines. amd64 is more
common now though.

BTW debian has a kernel in its repository suffix bigmem. Try it. Your 32bit
debian will detect your memory above 4GB.

On Thu, Sep 2, 2010 at 9:50 PM, Jangita  wrote:

> Hello,
>
> Difference between ia64 and amd64? I'm moving to servers with larger memory
> >4GB so want to move to 64 bit.
>
> --
> Jangita | +256 76 91 8383 | Y! & MSN: jang...@yahoo.com
> Skype: jangita | GTalk: jangita.nyag...@gmail.com
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4c7fabb7.1060...@jangita.com
>
>


Re: Nmap shows port 21 is open with no ftp daemon installed.

2009-06-08 Thread Rod James Bio


John Hasler wrote:

Does nmap claim there is actually something listening on port 21 or is it
that the port is simply not "stealthed"?  Post the actual nmap output.
Some security sites (such as www.grc.com) make the (IMHO bogus) claim that
not having all ports "stealthed" is a security risk.  Your friend may have
seen this and misunderstood.
  

This is his nmap output. Hope it helps. This is all I got.
#nmap myserver

PORT  STATESERVICE
21/tcpopen ftp
22/tcpfiltered ssh
80/tcpfiltered http   
389/tcp   filtered ldap

443/tcp   filtered https
993/tcp   filtered imaps
8080/tcp  filtered http-proxy


Rod writes:
  

So he asked other people and they told him that his machine was
hacked. The lsof and netstat was modified. The port 21 was a backdoor
placed by the hacker.



  



It does not seem plausible that a cracker would install a rootkit that
would listen on the standard port.  Do you have any reason to believe that
these other people know what they are talking about?


  
That's the thing that bothers me those people that suggested him this 
jumped into the conclusion with asking or doing any verification or 
maybe a previous experience from others. They just plainly told him that 
he was "hacked" and any binary(netstat, lsof, etc) that may help him had 
been replaced.


Anyway I just got another lead on his situation. I learned from my 
seniors from there past experience this may had been a bug in the Cisco 
IOS version that was between the user and the server. Anyway thanks for 
the info and I appreciate everyone's help.


--Rod


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: Nmap shows port 21 is open with no ftp daemon installed.

2009-06-08 Thread Rod James Bio
Well I did some test on my own port tcp 443 does show on my machine by 
nmapping(is this a valid verb?hehe)  from other network but when I do 
this in the same network it doesnt show at all. netstat does not show 
anything. Anyway thanks for the suggestion.


--Rod James

Richard Hector wrote:

On Mon, 2009-06-08 at 16:23 +0800, Rod James Bio wrote:
  
Hi, I've been wondering about my friends case. Seems that when he 
nmapped his machine port 21 is open, but there is no ftp daemon 
installed. He tried

"lsof -i :21"
but it did not return anything. He also tried
"netstat -an | grep 21"
also nothing.
So he asked other people and they told him that his machine was hacked. 
The lsof and netstat was modified. The port 21 was a backdoor placed by 
the hacker. Now I am not really contented with this answers. Any 
suggestions?



I wouldn't discount that possibility, but 2 thoughts come to mind:

netstat -lnpt (as root) will give far less redundant info - just what is
listening on tcp ports, including process names - so it's easier to
search through.

Was the nmap run directly on hte same network as the machine in
question? Not through a router, cable modem, or other device that could
have been getting in the way?

Oh, and some others ..

Perhaps running tcpdump on the machine while connecting to it (with nmap
or whatever) will show whether the traffic is actually getting to the
machine?

Oh - and you could try copying on a netstat and/or lsof binary, from
another machine (of the same architecture).

Richard



  



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Iptable Rules?

2009-06-08 Thread Rod James Bio
Sorry about bothering this list about this kind of question, but does 
this rules do something? or is just another for of IPTABLES -P INPUT 
ACCEPT. I saw this rules from some machine we visited and I just had to 
know if this rule has something special. So here it go:


Chain INPUT (policy ACCEPT 5 packets, 316 bytes)
pkts bytes target prot opt in out source   
destination
  49  6017 ACCEPT tcp  --  eth0   *   0.0.0.0/0 
0.0.0.0/0    tcp 
dpt:22 state NEW,ESTABLISHED
6325 3357K ACCEPT all  --  lo *   0.0.0.0/0 
0.0.0.0/0 
   
6611 3422K ACCEPT all  --  *  *   0.0.0.0/0 
0.0.0.0/0    
state RELATED,ESTABLISHED   
   0 0 ACCEPT tcp  --  *  *   127.0.0.1
0.0.0.0/0    state NEW tcp dpt:3128  
 288 17280 ACCEPT tcp  --  eth0   *   0.0.0.0/0 
0.0.0.0/0    
state NEW tcp dpt:8080  
   3   217 DROP   udp  --  eth+   *   0.0.0.0/0 
0.0.0.0/0 
   
  74  3280 DROP   tcp  --  eth+   *   0.0.0.0/0 
0.0.0.0/0    tcp 
flags:0x17/0x02 


Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source   
destination


Chain OUTPUT (policy ACCEPT 13515 packets, 6785K bytes)
pkts bytes target prot opt in out source   
destination
  37  5208 ACCEPT tcp  --  *  *   0.0.0.0/0 
0.0.0.0/0    tcp 
spt:22 state ESTABLISHED



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Nmap shows port 21 is open with no ftp daemon installed.

2009-06-08 Thread Rod James Bio
Hi, I've been wondering about my friends case. Seems that when he 
nmapped his machine port 21 is open, but there is no ftp daemon 
installed. He tried

"lsof -i :21"
but it did not return anything. He also tried
"netstat -an | grep 21"
also nothing.
So he asked other people and they told him that his machine was hacked. 
The lsof and netstat was modified. The port 21 was a backdoor placed by 
the hacker. Now I am not really contented with this answers. Any 
suggestions?


--Rod James


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: 64Bit installation on a 500 GB Sata DRIVE

2009-06-03 Thread Rod James Bio
Its a Seagate HD. I dont have the exact model number. Now I am checking 
if this is a hardware problem. One thing that bothers me is why does 
32bit works?


Klaus Jantzen wrote:

On 06/03/2009 07:46 AM, Rod James Bio wrote:

We've been doing an installation on this LTSP Server we are trying to
build. While formatting the 500 GB HD the partitioning
process is stock at 33%. Can anyone suggest if there are limitations or
problems or past experiences?

Anyway just for additional information:
I tried using lenny 64bit installer to no avail and 32bit 
installation is successful but we want to use 64bit because the 
machine has 5GB of memory so as to maximize the memory.

Processor is Intel QUAD Q9550.

--Rod James



Who is the manufacturer of your HD? What is the type?
I installed Debian Lenny 5.0 amd64 on two 500 GB HDs with no problem.

--

K. Jantzen




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: 64Bit installation on a 500 GB Sata DRIVE

2009-06-02 Thread Rod James Bio



Frank Lin PIAT wrote:

On Wed, 2009-06-03 at 13:51 +0800, 明覺 wrote:
  

On Wed, Jun 3, 2009 at 1:46 PM, Rod James Bio  wrote:


We've been doing an installation on this LTSP Server we are trying to
build. While formatting the 500 GB HD the partitioning
process is stock at 33%. 
  


Yes, hardware failure (hard disk or memory).
Go to your hard-disk manufacturer website, download the tool to test the
harddisk, then run the test.
Then use memtest to test your memory.

What's your motherboard chipset? Is your SATA controller configured in
AHCI or Compatibility mode ? (try switching to the other)

  
Thanks for the info. Well the board has AHCI enabled by default and 
there is also IDE Mode.

Anyway just for additional information:
I tried using lenny 64bit installer to no avail and 32bit installation is
successful but we want to use 64bit because the machine has 5GB of memory so
as to maximize the memory.
  


FYI, Debian i386 has a kernel flavor named bigmem, which supports up to
64GB (PAE see http://en.wikipedia.org/wiki/Physical_Address_Extension )

But unless you have a specific need to use stick to 32bit kernel
(driver, old application [in]compatibility), it is wise to move to
64bits.
  

Thanks I did not know this. I'll RTFM on this.
  

I donot have experience in it, if I encountered this problem, I would
try to use the gNewSense livecd to partition the harddisk, and after
that, install the 64bit debian. here is the gNewSense livecd,
http://www.gnewsense.org/index.php?n=Main.Download



1. No FUD please. Debian-installer's partman works.
2. Formating with another tool is unlikely to help (because you still
   have to proceed through the installation)
3. Debian has it's own DebianLive CD


Regards,

Franklin

  



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: 64Bit installation on a 500 GB Sata DRIVE

2009-06-02 Thread Rod James Bio
What I tried was to partition my HD using other linux installation at my
workplace. Then I tag the partition so it wont be formatted but the
installation still fails. Anyways thanks for the info. I just wanted to
know if there are limitations or problem that could arise. Thanks!

明覺 wrote:
> On Wed, Jun 3, 2009 at 1:46 PM, Rod James Bio  wrote:
>   
>> We've been doing an installation on this LTSP Server we are trying to
>> build. While formatting the 500 GB HD the partitioning
>> process is stock at 33%. Can anyone suggest if there are limitations or
>> problems or past experiences?
>>
>> Anyway just for additional information:
>> I tried using lenny 64bit installer to no avail and 32bit installation is
>> successful but we want to use 64bit because the machine has 5GB of memory so
>> as to maximize the memory.
>> Processor is Intel QUAD Q9550.
>> 
> I donot have experience in it, if I encountered this problem, I would
> try to use the gNewSense livecd to partition the harddisk, and after
> that, install the 64bit debian. here is the gNewSense livecd,
> http://www.gnewsense.org/index.php?n=Main.Download
>
>   
>> --Rod James
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
>> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>>
>>
>> 
>
>
>
>   



64Bit installation on a 500 GB Sata DRIVE

2009-06-02 Thread Rod James Bio

We've been doing an installation on this LTSP Server we are trying to
build. While formatting the 500 GB HD the partitioning
process is stock at 33%. Can anyone suggest if there are limitations or
problems or past experiences?

Anyway just for additional information:
I tried using lenny 64bit installer to no avail and 32bit installation 
is successful but we want to use 64bit because the machine has 5GB of 
memory so as to maximize the memory.

Processor is Intel QUAD Q9550.

--Rod James


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: termcap-compat in repository

2009-05-06 Thread Rod James Bio

Thanks for the info Roger. Maybe symlinking will do the job for me.

--
Rod

Roger Leigh wrote:

On Wed, May 06, 2009 at 03:30:40PM +0800, Rod James Bio wrote:
  
|I've been running to an error when I am installing "Sun Web Server".  
After running the setup-script i get:


/usr/src/sun-webserver/./.setup: error while loading shared libraries:  
libtermcap.so.2: cannot open shared object file: No such file or 
directory


Now I read somewhere that debian provides this file in "termcap-compat"  
package but after searching packages.debian.org  or apt-cache search  
that package is not in the debian repo. 
Can someone verify if the termcap-compat package is indeed missing? And  
also is it safe to symlink /usr/lib/libtermcap.so to  
/usr/lib/libtermcap.so.2 just to satisfy the dependency?



No.  termcap is long obsolete.  Even the compatibility wrapper is
now obsolete and gone.  libtermcap.so is actually just a symlink
to libncurses.so, so while it might do what you want it's not
really intended for anything except building old software that wants
to link with it.  It's not the "real" libtermcap.


Regards,
Roger

  



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




termcap-compat in repository

2009-05-06 Thread Rod James Bio
|I've been running to an error when I am installing "Sun Web Server". 
After running the setup-script i get:


/usr/src/sun-webserver/./.setup: error while loading shared libraries: 
libtermcap.so.2: cannot open shared object file: No such file or directory


Now I read somewhere that debian provides this file in "termcap-compat" 
package but after searching packages.debian.org  or apt-cache search 
that package is not in the debian repo. 
Can someone verify if the termcap-compat package is indeed missing? And 
also is it safe to symlink /usr/lib/libtermcap.so to 
/usr/lib/libtermcap.so.2 just to satisfy the dependency?


-
Rod James

|


How to install WLAN on Acer 4530

2009-03-18 Thread Rod James Bio

Does somebody know how to install Wifi driver for my Acer 4530?

-Rod


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Cyrus migration

2009-03-08 Thread Rod James Bio
Does someone know how to migrate cyrus setting? I've been trying to 
migrate my old cyrus settings to my new mail server. What I did was use 
rsync to copy the contents of /var/lib/cyrus and /var/spool/cyrus to my 
new server. After that I logged in onto cyradm and executed lm and there 
was no output.


Thanks!

--ROD


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




SSH problem

2009-02-04 Thread Rod James Bio
I've been experiencing problems with my machine. After some time of 
remotely logging on it via ssh next thing is I knew is that I am 
disconnected and now I cannot login again via ssh and its giving me:


/no matching cipher found/: client server 
aes128-cbc,3des-cbc,blowfish-cbc,cast128

-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc *...

Any help? I dont know if this will help but after stopping the nagios 
daemon things went fine again.

*



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: single Dhcp server on multiple networks

2009-01-15 Thread Rod James Bio

Mike Bird wrote:

On Thu January 15 2009 13:28:19 Rod James Bio wrote:
  

I was wondering if anyone had tried to configure a single linux dhcp
server to give IP to different network. We have multiple networks here
in our area and I am thinking of using a single dhcp server to serve all
other networks.



It works fine, e.g.:

authoritative;

option nis-domain   "snipped";
option domain-name  "snipped";
option domain-name-servers  192.168.64.3;
option netbios-node-type8;
option pop-server   192.168.64.19;
option smtp-server  192.168.64.19;
option www-server   192.168.64.20;
default-lease-time  600;
max-lease-time  7200;

subnet 192.168.65.0 netmask 255.255.255.0 {
option routers  192.168.65.1;
option subnet-mask  255.255.255.0;
option ntp-servers  192.168.65.3;
option netbios-dd-server192.168.65.3;
option netbios-name-servers 192.168.65.3;
range dynamic-bootp 192.168.65.33 192.168.65.254;
}

subnet 192.168.72.0 netmask 255.255.252.0 {
option routers  192.168.72.1;
option subnet-mask  255.255.252.0;
option ntp-servers  192.168.72.3;
option netbios-dd-server192.168.72.3;
option netbios-name-servers 192.168.72.3;
range dynamic-bootp 192.168.72.33 192.168.72.254;
range dynamic-bootp 192.168.73.33 192.168.73.254;
}


  

In this example what is the IP of your DHCP server?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




single Dhcp server on multiple networks

2009-01-14 Thread Rod James Bio

Dear All,

I was wondering if anyone had tried to configure a single linux dhcp 
server to give IP to different network. We have multiple networks here 
in our area and I am thinking of using a single dhcp server to serve all 
other networks.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: POWER FAILURE

2008-12-11 Thread Rod James Bio
Well that's a problem. I am using a Mac X server that doesnt have a VGA
behind it. What I tried though was to unmount the harddisk manually and
mount it on another X server that I have. I know that a lock file of some
sort has to be deleted to fix the problem.

On Fri, Dec 12, 2008 at 12:35 PM, Jeff D  wrote:

> On Fri, 12 Dec 2008, rjubio wrote:
>
> > I am experiencing some kind of error regarding a recent power failure in
> our
> > campus.
> >
> > When I try sshing to on of our server I get an error message:
> >
> > POWER FAILURE
> > then I get thrown back to the login prompt.
> >
> > Any suggestions how to go on this.
> > Thanks!
> >
> > ROD
>
> I'm going to guess someone is working on it and has set up nologin .. If
> this is a machine you admin , I'd suggest trying to get physical console
> access ..
>
> Jeff
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


Fwd: Zimbra

2008-11-09 Thread Rod James Bio
-- Forwarded message --
From: rjubio <[EMAIL PROTECTED]>
Date: Mon, Nov 10, 2008 at 10:10 AM
Subject: Zimbra
To: debian-user@lists.debian.org


Does anyone know if ZimbraWebClient can be installed separately so that I
could use its features like AtmailOpen and roundcube. I've been trying to
research on this and so far from what I get is that the Open source Zimbra
Collaboration Suite includes the mail server.

Thanks!


ATMAIL

2008-08-22 Thread Rod James Bio
Does anyone know where I can find the @mail open? I only have @mail demo 
on my desktop.

Greatly appreciated!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




WebMail Interface

2008-08-20 Thread Rod James Bio
Weve been using Horde for 2 years now and we are now looking for an 
alternative for Horde. Any suggestions?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: StartUp

2008-08-20 Thread Rod James Bio

Ron Johnson wrote:

On 08/20/08 05:05, Rod James Bio wrote:

Ron Johnson wrote:

On 08/20/08 03:33, Rod James Bio wrote:

Hi,

   This may sound pretty out of place but can anyone list ways on 
how to make a program execute on startup?
I am trying to a script to make my program a daemon but I was just 


To *write* a script?


wandering if there are any other ways to do this?



Oh yes I'm sorry.


Google for "daemonize".


Thanks


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: StartUp

2008-08-20 Thread Rod James Bio

Ron Johnson wrote:

On 08/20/08 03:33, Rod James Bio wrote:

Hi,

   This may sound pretty out of place but can anyone list ways on how 
to make a program execute on startup?
I am trying to a script to make my program a daemon but I was just 


To *write* a script?


wandering if there are any other ways to do this?



Oh yes I'm sorry.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




StartUp

2008-08-20 Thread Rod James Bio

Hi,

   This may sound pretty out of place but can anyone list ways on how 
to make a program execute on startup?
I am trying to a script to make my program a daemon but I was just 
wandering if there are any other ways to do this?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: PIDGIN

2008-08-19 Thread Rod James Bio
I fix my pidgin... thanks to your suggestion. I used pidgin -d and 
discovered that proxy settings is the problem... Since we replaced our 
proxy in our network.


Bob Cox wrote:
On Tue, Aug 19, 2008 at 21:24:00 +0800, Rod James Bio ([EMAIL PROTECTED]) wrote: 

  

does anyone know why pidgin is showing "Seg Fault" after you logged on it?
I also experience it in my Ubuntu desktop.



Have you tried searching for "pidgin seg fault" in Google?

  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




PIDGIN

2008-08-19 Thread Rod James Bio

does anyone know why pidgin is showing "Seg Fault" after you logged on it?
I also experience it in my Ubuntu desktop.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Fwd: ssh-keygen (SOLVED)

2008-08-19 Thread Rod James Bio

Yes I updated the libssl to 0.9.8c-4ethc3 from 0.9.8c. Thanks for info! :)

Johannes Wiedersich wrote:

On 08/19/2008 01:28 PM, Rod James Bio wrote:
  

It seems that the difference in package really did matter.

apt-cache policy libssl0.9.8
libssl0.9.8:
 Installed: 0.9.8c-4
 Candidate: 0.9.8c-4etch3
 Version table:
0.9.8c-4etch3 0
   500 http://debian.savoirfairelinux.net stable/main Packages
   500 http://security.debian.org stable/updates/main Packages
*** 0.9.8c-4 0
   100 /var/lib/dpkg/status

Does anyone knows how to explain this. I'm pretty new to debian and
particulary linux. Thanks!



To make a long story short: there's been a security issue of ssh on
debian [1]. One of your machines appears to use the vulnerable version,
the other one the updated one. For security reasons the updated version
won't connect to or accept connections from insecure machines.

Just update the vulnerable machine, follow the steps in [1] and you
should be fine.

Note that while debian is certainly more secure than many other OS,
there are occasional security updates. In order to have a secure system,
 you should upgrade regularly (and check for upgrades). It also helps to
subscribe to debian-security-announce.

HTH, cheers,

Johannes

[1] http://www.debian.org/security/2008/dsa-1576


  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Fwd: ssh-keygen (SOLVED)

2008-08-19 Thread Rod James Bio

It seems that the difference in package really did matter.

apt-cache policy libssl0.9.8
libssl0.9.8:
 Installed: 0.9.8c-4
 Candidate: 0.9.8c-4etch3
 Version table:
0.9.8c-4etch3 0
   500 http://debian.savoirfairelinux.net stable/main Packages
   500 http://security.debian.org stable/updates/main Packages
*** 0.9.8c-4 0
   100 /var/lib/dpkg/status

Does anyone knows how to explain this. I'm pretty new to debian and 
particulary linux. Thanks!


Chris Davies wrote:

Bob Cox <[EMAIL PROTECTED]> wrote:
  

This is how I do it when setting up a new machine:
ssh-keygen -t dsa

cat ~/.ssh/id_dsa.pub | ssh [EMAIL PROTECTED] 'cat >> .ssh/authorized_keys2'




Mmm. Interesting as I find authorized_keys works for me (none of my
Debian systems claims to understand your ssh2 variant).

ssh-keygen -t rsa   # Does anyone know whether dsa or rsa is better?
...
ssh [EMAIL PROTECTED] 'mkdir -pm 700 .ssh;cat>>.ssh/authorized_keys' 
<.ssh/id_rsa.pub

Actually I have a little script that does this for me (ssh-auth) that I
really ought to get round to offering to the ssh client distribution.
It's at http://www.roaima.co.uk/stuff/20080819/ssh-auth if anyone's
interested in critiquing it first.

Chris


  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Fwd: ssh-keygen

2008-08-19 Thread Rod James Bio
Thanks... but I still have the problem. I wonder if it concerns 
upgrading any packages in Debian


Chris Davies wrote:

Bob Cox <[EMAIL PROTECTED]> wrote:
  

This is how I do it when setting up a new machine:
ssh-keygen -t dsa

cat ~/.ssh/id_dsa.pub | ssh [EMAIL PROTECTED] 'cat >> .ssh/authorized_keys2'




Mmm. Interesting as I find authorized_keys works for me (none of my
Debian systems claims to understand your ssh2 variant).

ssh-keygen -t rsa   # Does anyone know whether dsa or rsa is better?
...
ssh [EMAIL PROTECTED] 'mkdir -pm 700 .ssh;cat>>.ssh/authorized_keys' 
<.ssh/id_rsa.pub

Actually I have a little script that does this for me (ssh-auth) that I
really ought to get round to offering to the ssh client distribution.
It's at http://www.roaima.co.uk/stuff/20080819/ssh-auth if anyone's
interested in critiquing it first.

Chris


  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Fwd: ssh-keygen

2008-08-19 Thread Rod James Bio
-- Forwarded message --
From: Rod James Bio <[EMAIL PROTECTED]>
Date: Tue, Aug 19, 2008 at 4:20 PM
Subject: ssh-keygen
To: debian-user@lists.debian.org, "Philippine Linux Users' Group (PLUG)
Technical Discussion List" <[EMAIL PROTECTED]>


I am testing login without a password for my computer laboratory here in our
campus since I need it to automate the backup process. I was able to
implement login without password with other computers by
  #ssh-keygen -t rsa (I left the passphrase field blank)
  then copying the generated key to the authorized_keys of the computer
where I will login without password.

After doing these steps I had problem since the remote computer is asking
for a password. Does anybody have an idea on what is happening. I think the
problem is with the ssh-keygen command.