[CentOS] Centos 6 and VLAN-ID7 for vDSL (Telekom)

2013-02-11 Thread Michael Nausch
AHOI!

I've big trouble by setting up CentOS 6.3 for my new vDSL.

As I've found out, the German Telekom is using VLAN7 for her
internet-(data) connections. = http://workaround.org/blog/vdsl

O.K. what I've done:

The NIC where's my DSL-modem is connectet is eth0.

cat /etc/sysconfig/network-scripts/ifcfg-eth0

# device for vDSL-modem
DEVICE=eth0
HWADDR=00:30:1B:14:08:67
ONBOOT=yes
HOTPLUG=no
TYPE=Ethernet
IPV6INIT=no
IPV6-AUTOCONF=no

cat /etc/sysconfig/network-scripts/ifcfg-eth0

# VLAN7 device for vDSL
DEVICE=eth0.7
ONBOOT=yes
HOTPLUG=no
TYPE=Ethernet
VLAN=yes

with pppoe-setup I've generated /etc/sysconfig/network-scripts/ifcfg-ppp0

cat /etc/sysconfig/network-scripts/ifcfg-ppp0

# generated with pppoe-setup
USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=eth0.7
PROVIDER=DSLppp0
USER=feste-ip/benutzerkennung@t-online-com.de
PEERDNS=no
DEMAND=no

/etc/ppp/chap-secret an /etc/ppp/pap_secret hast follewing content:

# Secrets for authentication using PAP/CAHP
# client server secret IP addresses
feste-ip/-benutzerkenn...@t-online-com.de * PASSWORD


cat /rpc/betvlan/eth0.7 is showing:
eth0.7 VID: 7 REORDER_HDR: 1 dev-priv_flags: 1
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0

total frames transmitted 6
total bytes transmitted 192
total headroom inc 0
total encap on xmit 0
Device: eth0
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESS priority mappings:

If I try to start my internet-connection with:
ifup ppp0
After a while I can read at command line:
/usr/sbin/adsl-start: line 217: 7297 Terminated $CONNECT $@ 
/dev/null 21

Syslog reports:

Feb 11 22:37:40 pml010050 pppd[7321]: pppd 2.4.5 started by django, uid 0
Feb 11 22:37:40 pml010050 pppd[7321]: Using interface ppp0
Feb 11 22:37:40 pml010050 pppd[7321]: connect: ppp0 -- /dev/pts2
Feb 11 22:38:11 pml010050 pppd[7321]: LCP: timeout sending Config-Request
Feb 11 22:38:11 pml010050 pppd[7321]: Connection terminated.
Feb 11 22:38:11 pml010050 pppd[7321]: Modem hangup
Feb 11 22:38:15 pml010050 pppd[7325]: Timeout waiting for PADO packets
Feb 11 22:38:15 pml010050 pppd[7321]: Exit.
Feb 11 22:38:15 pml010050 pppoe-connect: PPPoE connection lost;
attempting re-connection
Feb 11 22:38:20 pml010050 pppd[7391]: pppd 2.4.5 started by django, uid 0
Feb 11 22:38:20 pml010050 pppd[7391]: Using interface ppp0
Feb 11 22:38:20 pml010050 pppd[7391]: connect: ppp0 -- /dev/pts2
Feb 11 22:38:51 pml010050 pppd[7391]: LCP: timeout sending Config-Request
Feb 11 22:38:51 pml010050 pppd[7391]: Connection terminated.
Feb 11 22:38:51 pml010050 pppd[7391]: Modem hangup
Feb 11 22:38:55 pml010050 pppd[7395]: Timeout waiting for PADO packets
Feb 11 22:38:55 pml010050 pppd[7391]: Exit.

So, where's the BUG?

Thanx 4 help!


Django
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6 connection with sieveshell failed

2012-03-06 Thread Michael Nausch
Hello,

I've some difficulties with my installation, specially with sieveshell.

O.K., just have a look on my site:

intranet : 10.0.10.0/24
DMZ  : 10.0.0.0/24

My IMAP-server is based on DMZ-site on my host vml70 (10.0.0.70):
# netstat -penlut
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State   User   Inode  PID/Program name
tcp0  0 0.0.0.0:143 0.0.0.0:*
LISTEN  0  137240 25617/cyrus-master
tcp0  0 0.0.0.0:20000.0.0.0:*
LISTEN  0  137252 25617/cyrus-master
tcp0  0 0.0.0.0:22  0.0.0.0:*
LISTEN  0  8777   1314/sshd
tcp0  0 0.0.0.0:24  0.0.0.0:*
LISTEN  0  137258 25617/cyrus-master
tcp0  0 127.0.0.1:250.0.0.0:*
LISTEN  0  8977   1392/master
tcp0  0 0.0.0.0:993 0.0.0.0:*
LISTEN  0  137246 25617/cyrus-master

I've no problem to connect with sieveshell on my IMAP-host:
[django@vml70 ~]$ sieveshell --user=django --authname=django
127.0.0.1:2000
connecting to 127.0.0.1:2000
Please enter your password:

BUT, if I try to connect from an other host inside my DMZ a see this error:

[django@vml90 ~]$  sieveshell --user=django --authname=django
10.0.0.70:2000
connecting to 10.0.0.70:2000
unable to connect to server at /usr/bin/sieveshell line 170.

O.K., so far so good :( Just look, I can connect with telnet to port
2000 on my IMAP-host:

[django@vml90 ~]$ telnet 10.0.0.70 2000
Trying 10.0.0.70...
Connected to 10.0.0.70.
Escape character is '^]'.
IMPLEMENTATION Cyrus timsieved v2.3.16-Fedora-RPM-2.3.16-6.el6_1.4
SASL CRAM-MD5 DIGEST-MD5
SIEVE comparator-i;ascii-numeric fileinto reject vacation imapflags
notify envelope relational regex subaddress copy
STARTTLS
OK

SELinux is deactivated and the personal firewall on my IMAP-Host accepts
connections to Port: 143, 993 and 2000:
[root@vml70 ~]# iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT all  --  0.0.0.0/00.0.0.0/0   state
RELATED,ESTABLISHED
ACCEPT icmp --  0.0.0.0/00.0.0.0/0
ACCEPT all  --  0.0.0.0/00.0.0.0/0
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:22
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:143
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:993
ACCEPT tcp  --  10.0.0.800.0.0.0/0   state NEW
tcp dpt:24
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:2000
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:80
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:443
REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with
icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source   destination
REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with
icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

And here comes the strangest thing I can report:
If I try to connect from my intranet to my IMAP-Server on port 2000:
[django@pml010002 ~]$ sieveshell --user=django --authname=django
10.0.0.70:2000
connecting to 10.0.0.70:2000
Please enter your password:

IT WORKS! Im very very confused! :(

O.K. all hosts are based on CentOS:

DMZ-host:
[django@vml90 ~]$ cat /etc/redhat-release
CentOS release 6.2 (Final)
[root@vml90 ~]# yum list cyrus-imapd-utils
Installed Packages
cyrus-imapd-utils.x86_64 2.3.16-6.el6_1.4


IMAP-host
[django@vml70 ~]$ cat /etc/redhat-release
CentOS release 6.2 (Final)
[root@vml70 ~]# yum list cyrus-imapd-utils
Installed Packages
cyrus-imapd-utils.x86_64 2.3.16-6.el6_1.4
[root@vml70 ~]# yum list cyrus-imapd
Installed Packages
cyrus-imapd.x86_64   2.3.16-6.el6_1.4


Intranet-host
[django@pml010002 ~]$ cat /etc/redhat-release
CentOS release 6.2 (Final)
[root@pml010002 ~]# yum list cyrus-imapd-utils
Installed Packages
cyrus-imapd-utils.x86_64 2.3.16-6.el6_1.4


I'm very confused about that behavior. Why it is possible to connet to
Port 2000 from an intranet-host and why it fails inside my DMZ?

Any ideas ond/or hints?


ttyl
Django
-- 
Bonnie  Clyde der Postmaster-Szene! approved by Postfix-God
http://wetterstation-pliening.info
http://dokuwiki.nausch.org
http://wiki.piratenpartei.de/Benutzer:Django
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LiveCD on USB won't boot

2010-07-29 Thread Michael Nausch

Hello,

Quoting cornel panceac cpanc...@gmail.com:


try unetbootin
http://unetbootin.sourceforge.net/


Building a netinstall-usb-device is not my problem. I killed my grub  
menu.lst on one of my hosts, so I need a rescue-usb-device. I thought  
it were the best may to use a LiveCD for repairing my bootloader.


cerio!

Django
--
Bonnie  Clyde der Postmaster-Szene! approved by Postfix-God

http://wetterstation-pliening.info
http://dokuwiki.nausch.org



pgpJYX2BPhf79.pgp
Description: Digitale PGP-Unterschrift
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] LiveCD on USB won't boot

2010-07-28 Thread Michael Nausch
HI,

I tried to build my own liveCD on USB-device. I've formatted my
usb-stick:

# mkdosfs -F 32 -n usbdisk /dev/sda1

Then I copied the iso-image to my stick:

# livecd-iso-to-disk CentOS-5.5-i386-LiveCD.iso /dev/sda1

After that I tried to boot with that new device:

# qemu -hda /dev/sda -m 256

But, then I become this error-message:

Initial menu has no LABEL entries!

The same shit happens if I try to boot my host with that usb-device? 

Any idea? Any hint 4 me? 


ttyl,
 Django


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing over network

2010-01-03 Thread Michael Nausch
HI!

Quoting Slack-Moehrle mailingli...@mailnewsrss.com:

 I assume use the boot.iso and make sure that I have DHCP turned on   
 so that I get an IP automatically from my router?

At bootpromt say linux askmethod, and make your config  
(http://dokuwiki.nausch.org/doku.php?id=centos:centos_5_internetinstallation).
O.K. The wiki is in German, but it should useful for your  
installation. For further support, say hello! ;)

ttyl,
  Django
-- 
Bonnie  Clyde der Postmaster-Szene! approved by Postfix-God

http://wetterstation-pliening.info
http://dokuwiki.nausch.org


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] installonlypkgs vs. exclude in yum.conf

2009-09-23 Thread Michael Nausch
HI,

with exclude in yum.conf I can exclude kernel-updates via:
exclude=kernel*

If I use installonlypkgs, what happend exactly?

Like:
installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel  
kernel-largesmp kernel-largesmp-devel kernel-hugemem  
kernel-hugemem-devel

What's the difference betwenn update and installonly?

Thanx!


ttyl,
  Django
-- 
Bonnie  Clyde der Postmaster-Szene! approved by Postfix-God

http://wetterstation-pliening.info
http://dokuwiki.nausch.org


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos