Fwd: ADSL/pppoe configuration

2011-08-29 Thread Tanmoy Chatterjee
-- Forwarded message --
From: Tanmoy Chatterjee bum@gmail.com
Date: Mon, Aug 29, 2011 at 3:02 AM
Subject: Re: ADSL/pppoe configuration
To: Urs Beyerle urs.beye...@env.ethz.ch


On Mon, Aug 29, 2011 at 1:33 AM, Urs Beyerle urs.beye...@env.ethz.ch wrote:
 Hi,

 On 08/28/2011 11:21 PM, Tanmoy Chatterjee wrote:

 Hello friends
 I am a novice linux user and I have just installed SL6.1 from liveCD.
 Now I want to connect to internet and my ISP use ADSL/pppoe type of
 connection. I use rp-pppoe to connect to the internet when in Fedora
 13. But the problem is that I have to download that package here first
 which I can't do without a net connection. In RHEL 6 Deployment guide
 I have found some work around with pppd but have not been able to
 figure it out. Googling about it also comes with the solution of
 RP-pppoe.

 1) Can anybody direct me to a HOW-TO about the method ( pppd or
 something for which I don't have to download a package) ?

 2) Why I can't use the NM applet and the DSL tab there to configure
 pppoe connection ?

 Thanks in advance.

 Since you could write this email I assume that you are somehow connected to
 the internet. If you know how to do it with rp-pppoe, I would simply
Yes I am connected to internet via System  Preferences  Network
Connections  DSL tab. But connecting through this way have some
problems.
 download the rp-pppoe rpm and put it on an USB stick.
3) I can do that. But after checking the RHEL Deployment guide - they
have not mentioned this method for pppoe connection - as not being a
computer student I want to know what the standard practice in this
case for distribution such as RHEL.

4) Also why the Sys  Pref  Net Con  DSL tab can not give a pppoe
connection like rp-pppoe does.

 for 32bit:
 http://ftp.scientificlinux.org/linux/scientific/6.1/i386/os/Packages/rp-pppoe-3.10-8.el6.i686.rpm

 for 64 bit:
 http://ftp.scientificlinux.org/linux/scientific/6.1/x86_64/os/Packages/rp-pppoe-3.10-8.el6.x86_64.rpm

 Insert the USB stick into the SL61 system and install rp-pppoeas root:

 su -
 cd to_your_usb_stick
 yum localinstall rp-pppoe-3.10-8.el6.i686.rpm

 Cheers,
Thanks for your reply.

    Urs




Re: ADSL/pppoe configuration

2011-08-29 Thread Tanmoy Chatterjee
On Mon, Aug 29, 2011 at 2:35 PM, Andreas Petzold
andreas.petz...@kit.edu wrote:
 On Sunday, August 28, 2011 23:21:45 Tanmoy Chatterjee wrote:

 2) Why I can't use the NM applet and the DSL tab there to configure
 pppoe connection ?

 I don't think there is a reason not to use NM to configure your DSL
 connection. It works me since Fedora 10 or so.
I have tried that since I started using linux with Ubuntu 9.04 but few
problems arise - check the following link and last page
http://ubuntuforums.org/showthread.php?t=1359972

In NM configuration of pppoe I have entered the information of User id
and password as in the case with rp-pppoe configuration and nothing
else since I don't have other infos ( DNS, netmask etc) - with these
rp-pppoe works without any problem but NM configuration face problem
as in the link above.
If you done things differently kindly mention those things.
Thanks.

        Cheers,

                Andreas






usb 2 support

2011-08-29 Thread lee

Hi
has anyone managed to get usb 2 support working on sl 6. I managed to get
qemu-kvm-0.15.0-3.el6.x86_64 build and libvirt-0.9.4-1.el6.x86_64 , 
installed and working normal. I now just need usb 2 support to work.


The one vm guest runs windows 7. usb passthrough works for different 
linux installs I've tried as guest, but not windows 7.


I've tested this on a debian system running qemu-kvm 0.14, 
libvirtd-0.9.4 and virt-manager 0.9.0. and it works correctly.


the virt-manager in sl 6/rhel 6 is virt-manager-0.8.4-8.el6.noarch. 
trying to compile the latest virt-manager is near impossible now.


i assuming that maybe its virt-manager not generating the correct xml 
tagging to execute the correct qemu-kvm command that sets up usb 2 
support for windows 7. This seems to be confirmed because when u try to 
add the device u only see ohci, and not ehci usb hosts. is this a 
correct assumption


Regards


Re: FTP Server Access Error

2011-08-29 Thread Connie Sieh

On Fri, 26 Aug 2011, Pablo Cavero wrote:


--000e0cd2e6ac8ff33a04ab6e36d4
Content-Type: text/plain; charset=ISO-8859-1

Hi,

Please Help me about this error:

[root@Deimos ~]# ftp Selene
Connected to Selene (172.20.1.177).
220 (vsFTPd 2.2.2)
Name (Selene:root): pablo
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/pablo
Login failed.
ftp
ftp

Thx a lot!!




You need to verify that /home/pablo exists.

-Connie Sieh


Re: FTP Server Access Error

2011-08-29 Thread Pablo Cavero
Hi,

By Default this directory have an 700 like permissions.

[root@Selene home]# ll
total 8
drwx--. 4 pablo pablo 4096 Aug 18 14:31 pablo

but, inside of this directory, have an Root file?!?!?

[root@Selene pablo]# ls -la
total 28
drwx--. 4 pablo pablo 4096 Aug 18 14:31 .
*drwxr-xr-x. 4 root  root  4096 Aug 26 16:57 ..*
-rw-r--r--. 1 pablo pablo   18 Nov 22  2010 .bash_logout
-rw-r--r--. 1 pablo pablo  176 Nov 22  2010 .bash_profile
-rw-r--r--. 1 pablo pablo  124 Nov 22  2010 .bashrc
drwxr-xr-x. 2 pablo pablo 4096 Nov 23  2010 .gnome2
drwxr-xr-x. 4 pablo pablo 4096 Aug 18 13:06 .mozilla
[root@Selene pablo]#

And... am not running SE-Linux.

Thanx,

P.Cavero


2011/8/26 Kevin Thomas axel2...@gmail.com

 What are the permissions on /home/pablo?


 On Fri, Aug 26, 2011 at 3:15 PM, Pablo Cavero 
 pcavero.scienti...@gmail.com wrote:

 Hi,

 Please Help me about this error:

 [root@Deimos ~]# ftp Selene
 Connected to Selene (172.20.1.177).
 220 (vsFTPd 2.2.2)
 Name (Selene:root): pablo
 331 Please specify the password.
 Password:
 500 OOPS: cannot change directory:/home/pablo
 Login failed.
 ftp
 ftp

 Thx a lot!!

 --
 Pablo Cavero
 System Engineer
 +569 8920 9509





-- 
Pablo Cavero
System Engineer
+569 8920 9509


Re: FTP Server Access Error

2011-08-29 Thread Andreas Petzold
On Monday, August 29, 2011 18:11:33 Pablo Cavero wrote:
 Hi,
 
 By Default this directory have an 700 like permissions.
 
 [root@Selene home]# ll
 total 8
 drwx--. 4 pablo pablo 4096 Aug 18 14:31 pablo
 
 but, inside of this directory, have an Root file?!?!?
 
 [root@Selene pablo]# ls -la
 total 28
 drwx--. 4 pablo pablo 4096 Aug 18 14:31 .
 drwxr-xr-x. 4 root  root  4096 Aug 26 16:57 ..

the .. entry in the directory listing refers to the parent directory of the 
directory that is listed. And in the case of your home dir .. refers to the 
/home or whereever the home directories are stored on your installation which 
is owned by root.

Cheers,

Andreas


smime.p7s
Description: S/MIME cryptographic signature


xfce4 : either repo/xkb-plugin

2011-08-29 Thread Andrew Z
Hello,
 i think i'm pretty much sold on XFCE4 .
 few quick questions:
 a. do i need any special repos for it?
 b. i'm looking for xfce4-xkb-plugin and it doesn't seemed to be in regular
repos ( rpmforge, epel ). What am i missing?
 c. I need to add a shortcut to change the keyboard layouts. And i can't
find a place where to specify the shortcut for that ...

Please advise.
Andrew


Re: Fwd: ADSL/pppoe configuration

2011-08-29 Thread Tanmoy Chatterjee
On Tue, Aug 30, 2011 at 12:35 AM, Steven J. Yellin
yel...@slac.stanford.edu wrote:
    You may already understand what I'm about to write, but it's possible
 that you're enough of a newbie that you've misunderstood the role of rpms,
 so I'll explain anyway:
    Downloading a rpm, like rp-pppoe, is not a method of connection; it's
 part of a proceedure for getting the rp-pppoe software into your computer if
 it isn't already there.  If the command

 rpm -q rp-pppoe

 shows that the package is already there (compare with what you get for a
 non-existent rpm as in 'rpm -q Tanmoy') then there's no point in again
 putting it into your computer via a USB stick.  The rpm should be installed
 once, and then never needs to be installed again.  In the case of a
 distribution such as RHEL, standard practice is to have necessary rpms
 installed initially as part of the original system.  It would be somewhat
 surprising if that didn't happen with rp-pppoe.
I think I have failed to clearly point out my problem. I know how to
set-up pppoe connection via Roaring Penguin software rp-pppoe as I
have already done so with my Fedora 13 and Ubuntu partitions.
As I am currently installing SL from Livecd which does not come with
that rp-pppoe package. So that I have to download it somehow and then
install it to set up a pppoe connection. That's why I am asking
whether there are any other software/method to set up pppoe connection
in SL?
My confusion increases with googling and after going through RHEL
documents - I have found some suggestions there as how to configure it
with pppd. Just want to know how is it different than the software we
are dicussing rp-pppoe and is there some easy steps to do so.

 Steven Yellin

 On Mon, 29 Aug 2011, Tanmoy Chatterjee wrote:

 ...
 On Mon, Aug 29, 2011 at 1:33 AM, Urs Beyerle urs.beye...@env.ethz.ch
 wrote:
 ...

 download the rp-pppoe rpm and put it on an USB stick.

 3) I can do that. But after checking the RHEL Deployment guide - they
 have not mentioned this method for pppoe connection - as not being a
 computer student I want to know what the standard practice in this
 case for distribution such as RHEL.

 ...



Re: Fwd: ADSL/pppoe configuration

2011-08-29 Thread Mark Stodola

Tanmoy Chatterjee wrote:

On Tue, Aug 30, 2011 at 12:35 AM, Steven J. Yellin
yel...@slac.stanford.edu wrote:
  

   You may already understand what I'm about to write, but it's possible
that you're enough of a newbie that you've misunderstood the role of rpms,
so I'll explain anyway:
   Downloading a rpm, like rp-pppoe, is not a method of connection; it's
part of a proceedure for getting the rp-pppoe software into your computer if
it isn't already there.  If the command

rpm -q rp-pppoe

shows that the package is already there (compare with what you get for a
non-existent rpm as in 'rpm -q Tanmoy') then there's no point in again
putting it into your computer via a USB stick.  The rpm should be installed
once, and then never needs to be installed again.  In the case of a
distribution such as RHEL, standard practice is to have necessary rpms
installed initially as part of the original system.  It would be somewhat
surprising if that didn't happen with rp-pppoe.


I think I have failed to clearly point out my problem. I know how to
set-up pppoe connection via Roaring Penguin software rp-pppoe as I
have already done so with my Fedora 13 and Ubuntu partitions.
As I am currently installing SL from Livecd which does not come with
that rp-pppoe package. So that I have to download it somehow and then
install it to set up a pppoe connection. That's why I am asking
whether there are any other software/method to set up pppoe connection
in SL?
My confusion increases with googling and after going through RHEL
documents - I have found some suggestions there as how to configure it
with pppd. Just want to know how is it different than the software we
are dicussing rp-pppoe and is there some easy steps to do so.
  

Steven Yellin

On Mon, 29 Aug 2011, Tanmoy Chatterjee wrote:



...
On Mon, Aug 29, 2011 at 1:33 AM, Urs Beyerle urs.beye...@env.ethz.ch
wrote:
...
  

download the rp-pppoe rpm and put it on an USB stick.


3) I can do that. But after checking the RHEL Deployment guide - they
have not mentioned this method for pppoe connection - as not being a
computer student I want to know what the standard practice in this
case for distribution such as RHEL.

...
  


I'm still not sure what you are trying to accomplish.  If you have other 
linux distributions on other partitions, can't you simply wget the RPM 
from there, reboot to SL, mount the other OS's partition and 
copy/install it from there?


http://ftp.scientificlinux.org/linux/scientific/6.1/i386/os/Packages/rp-pppoe-3.10-8.el6.i686.rpm
Change release/arch as needed...

Why go through all of the trouble of cobbling your connection via other 
means?  Sounds like you are trying to make it harder than it actually is.


-Mark

--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591


SL6.1, Kerberos, bind, and MSFT Active Directory

2011-08-29 Thread Harley Race
Hello All.

Having some problems getting secure dynamic DNS updates to work with bind in 
SL6.1 and windos 2k3 Active Directory.  I figure that the problem may be with 
bind and kerberos so I setup wireshark to listen on port 88 on the nameserver 
(spritle.machx.net) and on the domain controller (chimchim.win.machx.net).  The 
kerberos realm is win.machx.net or in ms WIN.MACHX.NET

I have gotten kerberos working so that when I do a “kinit”:  

    kinit -V -k -t /etc/named/spritleDNS.keytab 
DNS/spritle.machx@win.machx.net

I get a ticket and I see the kerberos request and reply.

If  I do a nsupdate, the update works and  I also see a kerberos request and 
reply. 

If I start bind, I do not get any kerberos traffic at all.  If I restart 
netlogon on the win2k3 domain controller, I do not get any traffic at all 
either.  I have run

setsebool -P allow_kerberos 1

Any ideas as to what else I should look at?  Relevant stuff is below.

/etc/krb5.conf:
[logging]
 default = FILE:/var/log/krb5.log

[libdefaults]
 default_keytab_name = FILE:/etc/named/spritleDNS.keytab
 default_realm = WIN.MACHX.NET
 default_tgs_enctypes = RC4-HMAC
 default_tkt_enctypes = RC4-HMAC
 dns_lookup_realm = false
 dns_lookup_kdc = false
 ticket_lifetime = 24h
 renew_lifetime = 7d
 forwardable = true

[realms]
 WIN.MACHX.NET = {
  kdc = chimchim.win.machx.net
  admin_server = chimchim.win.machx.net
 }

[domain_realm]
 .win.machx.net = WIN.MACHX.NET
 win.machx.net = WIN.MACHX.NET
 .machx.net = WIN.MACHX.NET
 machx.net = WIN.MACHX.NET

[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
 }


/etc/named.conf

tkey-gssapi-credential DNS/spritle.machx.net;
tkey-domain WIN.MACHX.NET;

zone _msdcs.win.machx.net {
type master;
file slaves/db.msdcs.machx.net;
allow-query  { trusted; };
check-names ignore;
update-policy {
grant WIN.MACHX.NET. ms-self * A ;
grant CHIMCHIM\$\@WIN.MACHX.NET. subdomain win.machx.net. A 
 SRV CNAME;
grant DNS/spritle.machx@win.machx.net wildcard * A  
SRV CNAME;
};
};

The other zones are using IP acl's.


Re: Fwd: ADSL/pppoe configuration

2011-08-29 Thread Tanmoy Chatterjee
On Tue, Aug 30, 2011 at 2:46 AM, Mark Stodola stod...@pelletron.com wrote:
 Tanmoy Chatterjee wrote:

 On Tue, Aug 30, 2011 at 12:35 AM, Steven J. Yellin
 yel...@slac.stanford.edu wrote:


   You may already understand what I'm about to write, but it's possible
 that you're enough of a newbie that you've misunderstood the role of
 rpms,
 so I'll explain anyway:
   Downloading a rpm, like rp-pppoe, is not a method of connection; it's
 part of a proceedure for getting the rp-pppoe software into your computer
 if
 it isn't already there.  If the command

 rpm -q rp-pppoe

 shows that the package is already there (compare with what you get for a
 non-existent rpm as in 'rpm -q Tanmoy') then there's no point in again
 putting it into your computer via a USB stick.  The rpm should be
 installed
 once, and then never needs to be installed again.  In the case of a
 distribution such as RHEL, standard practice is to have necessary rpms
 installed initially as part of the original system.  It would be somewhat
 surprising if that didn't happen with rp-pppoe.


 I think I have failed to clearly point out my problem. I know how to
 set-up pppoe connection via Roaring Penguin software rp-pppoe as I
 have already done so with my Fedora 13 and Ubuntu partitions.
 As I am currently installing SL from Livecd which does not come with
 that rp-pppoe package. So that I have to download it somehow and then
 install it to set up a pppoe connection. That's why I am asking
 whether there are any other software/method to set up pppoe connection
 in SL?
 My confusion increases with googling and after going through RHEL
 documents - I have found some suggestions there as how to configure it
 with pppd. Just want to know how is it different than the software we
 are dicussing rp-pppoe and is there some easy steps to do so.


 Steven Yellin

 On Mon, 29 Aug 2011, Tanmoy Chatterjee wrote:



 ...
 On Mon, Aug 29, 2011 at 1:33 AM, Urs Beyerle urs.beye...@env.ethz.ch
 wrote:
 ...


 download the rp-pppoe rpm and put it on an USB stick.


 3) I can do that. But after checking the RHEL Deployment guide - they
 have not mentioned this method for pppoe connection - as not being a
 computer student I want to know what the standard practice in this
 case for distribution such as RHEL.

 ...


 I'm still not sure what you are trying to accomplish.  If you have other
 linux distributions on other partitions, can't you simply wget the RPM from
 there, reboot to SL, mount the other OS's partition and copy/install it from
 there?

 http://ftp.scientificlinux.org/linux/scientific/6.1/i386/os/Packages/rp-pppoe-3.10-8.el6.i686.rpm
 Change release/arch as needed...

 Why go through all of the trouble of cobbling your connection via other
 means?  Sounds like you are trying to make it harder than it actually is.

ACTUALLY I WANT TO KNOW IS THERE ANY OTHER WAY - but it seems to me
there is only one way - check the following link -

http://www.lampdocs.com/home-personal/pppoe-connection/

Thanks


 -Mark

 --
 Mr. Mark V. Stodola
 Digital Systems Engineer

 National Electrostatics Corp.
 P.O. Box 620310
 Middleton, WI 53562-0310 USA
 Phone: (608) 831-7600
 Fax: (608) 831-9591



Re: usb 2 support

2011-08-29 Thread Kenni Lund
Den 29/08/2011 13.15 skrev lee funnyvo...@tlabs.ac.za:

 Hi
 has anyone managed to get usb 2 support working on sl 6. I managed to get
 qemu-kvm-0.15.0-3.el6.x86_64 build and libvirt-0.9.4-1.el6.x86_64 ,
installed and working normal. I now just need usb 2 support to work.

qemu-kvm doesn't support emulated USB 2.0, only USB 1.1.

 I've tested this on a debian system running qemu-kvm 0.14, libvirtd-0.9.4
and virt-manager 0.9.0. and it works correctly.

Correctly with USB 1.1 I assume?

 i assuming that maybe its virt-manager not generating the correct xml
tagging to execute the correct qemu-kvm command that sets up usb 2 support
for windows 7. This seems to be confirmed because when u try to add the
device u only see ohci, and not ehci usb hosts. is this a correct
assumption

No, USB 2.0 is not supported by qemu or qemu-kvm, it has nothing to do with
libvirt or virt-manager.

Best regards
Kenni