Jump to content

DustyBin

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About DustyBin

  • Rank
    Noob
  1. DustyBin

    Logos

    This logo is a optimized .gif what i done in photoshop, feel free to use. I will do some variations of it when i get time.
  2. anyweb, the reason why you have had problems is down to installing mixed packages. If you installed most of PCLinuxOS from a bootable CD and the apt repositories (/etc/apt/sources.list on debian) are for a newer version of the distro that was on that CD there will be conflicts, this has happened to me quite a lot on debian before i knew what i was doing. Its IMPORTANT to check to make sure your using the correct repositories what match the version of your running distro before you perform any kind software update. If the repositories are for a newer version of your currently distro you would either have to change them to match the distro version your running or perform a apt-get update && apt-get dist-upgrade.
  3. aye ive sorted out debian problems with dist-upgrade many of times
  4. 525 days? jeeze that is a LONG time, especially for a laptop too!
  5. DustyBin

    Logos

    I like those logos, especially with the use of the tux, but from a technical point of view, the dont look visually as good as they should, the outlined fonts look very rough, and the type setting and font choice could be improved, so on that note i'm going to power up photoshop and do some new versions.
  6. IMO changing the forum headings to use upper and lower case would make a huge difference to how the forums are presented, at the moment the forums look like user posts and some of the titles should be shortened with the descriptions underneath, would look a lot better if they looked like this: News Linux News Hello General chat Polls Site Look And Feel, Suggestions, Problems, Whatever.. <-- shorten this About To Start Using Linux... <-- shorten this Kernel Related etc..
  7. #linux-noob on Efnet is where I learnt almost everything I know about linux to this day. linux-noob ftw ...in the next coming weeks I'm going to update some existing tutorials on this site and do some fresh ones.
  8. DustyBin

    Hello world

    you could ban me but i might come back as: DustyBin_2 tehehe
  9. Aye this does look nice indeed, i'm deciding to use either BSD based pfsense or this, this has a big advantage as it can handle ADSL modems, pfsense doesnt. My final plan is to replace my netgear router with a box what is a firewall, router, adsl modem and wireless, this software looks up for the job.
  10. TARGET MACHINE apt-get install bind9 edit /etc/bind/named.conf.local zone "yourdomain.net" { type master; file "/etc/bind/zones/yourdomain.net.db"; }; zone "0.168.192.in-addr.arpa" { type master; file "/etc/bind/zones/rev.0.168.192.in-addr.arpa"; }; mkdir /etc/bind/zones edit /etc/bind/zones/yourdomain.net.db yourdomain.net. IN SOA ns1.yourdomain.net. admin.yourdomain.net. ( 0000000001 28800 3600 604800 38400 ) yourdomain.net. IN NS ns1.yourdomain.net. yourdomain.net. IN MX 10 yourdomain.net. www IN A **serverIP** mta IN A **serverIP** ns1 IN A **serverIP** edit /etc/bind/zones/rev.0.168.192.in-addr.arpa The number before IN PTR yourdomain.net. is the machine address of the DNS server. in my case, it's 3, as my IP address is 192.168.0.3. @ IN SOA ns1.yourdomain.net. admin.yourdomain.net. ( 0000000001; 28800; 604800; 604800; 86400 ) IN NS ns1.yourdomain.net. 3 IN PTR yourdomain.net. CONFIGURING THE NETWORK INTERFACES edit etc/network/interfaces my particular LAN has static local addresses assigned by my router. I removed anything to do with DHCP so it wont overwrite /etc/resolv.conf and entered the relevant details so it looked like this but remember to change your details accordingly for your setup. # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 auto eth0 iface eth0 inet static address 192.168.0.2 gateway 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 Remove network-manager so this also doesnt overwrite the /etc/resolv.conf apt-get remove --purge network-manager edit /etc/resolv.conf nameserver 127.0.0.1 Restart the network interfaces and check to make sure /etc/resolv.conf hasnt changed! /etc/init.d/networking restart now try pinging www.yourdomain.net If all went well you could repeat 'CONFIGURING THE NETWORK INTERFACES' for other machines on your LAN so it uses bind9 as the name server but remember to point /etc/resolv.conf at the machine running bind9! CHROOTING BIND9 It is VERY IMPORTANT to be running Bind9 as secure as possible. Heres how you chroot Bind9 on Debian Etch. magikman from #linux-noob / efnet kindly showed me how to do this. edit /etc/default/bind9 OPTIONS="-u bind -t /var/lib/named" mkdir -p /var/lib/named/etc mkdir /var/lib/named/dev mkdir -p /var/lib/named/var/cache/bind mkdir -p /var/lib/named/var/run/bind/run mv /etc/bind /var/lib/named/etc ln -s /var/lib/named/etc/bind /etc/bind mknod /var/lib/named/dev/null c 1 3 mknod /var/lib/named/dev/random c 1 8 chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random chown -R bind:bind /var/lib/named/var/* chown -R bind:bind /var/lib/named/etc/bind edit /etc/init.d/sysklogd SYSLOGD="-a /var/lib/named/dev/log" /etc/init.d/sysklogd restart /etc/init.d/bind9 restart Now you will running Bind9 chrooted :-)
  11. Ive read lots of 'how-tos' on how to do this but none of them worked on there own, I managed to get it working by merging bits of information together and heres how i got it working on Debian Etch, this might work on Debian Sarge too. TARGET MACHINE apt-get install postfix-tls sasl2-bin libsasl2 libsasl2-modules << stuff required for postfix apt-get install popa3d << this is the pop daemon for downloading mail from server edit /etc/default/saslauthd and make sure these lines say: START=yes MECHANISMS="pam" edit /etc/postfix/sasl/smtpd.conf if this file doesnt exist create it! pwcheck_method: saslauthd edit /etc/postfix/main.cf (remove old config, copy and paste everything here but change ******) smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no myhostname = ****** # make sure this is resolvable (ie use yourmail.net) mydomain = ****** # make sure this is resolvable, i got mine working using same as above. myorigin = $mydomain inet_interfaces = all mydestination = $mydomain, localhost.$mydomain, localhost mynetworks = 127.0.0.0/8, *.*.*.*/* # change this to local address + subnet so emails can be relayed out your box smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = ****** # i used same as 'mydomain' above broken_sasl_auth_clients = yes smtpd_sender_restrictions = reject_unknown_sender_domain, reject_unverified_sender smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination postfix does a chroot so it can’t communicate with saslauthd. heres how to get round it: rm -r /var/run/saslauthd/ mkdir -p /var/spool/postfix/var/run/saslauthd ln -s /var/spool/postfix/var/run/saslauthd /var/run chgrp sasl /var/spool/postfix/var/run/saslauthd adduser postfix sasl add a test user (remember to remove after) useradd test passwd testpass edit /etc/passwd (so test cannot log in via ssh) test:x:1001:1001::/home/test:/bin/false <<change this to false start postfix + saslauthd services /etc/init.d/postfix reload /etc/init.d/saslauthd start TEST POSTFIX CONNECTION WITH TELNET ON REMOTE MACHINE We need perl to generate the string for the SASL telnet authentication perl -MMIME::Base64 -e 'print encode_base64("testtesttestpass");' << change test / testpass accordingly dGVzdAB0ZXN0AHRlc3RwYXNz << this will be used for authentication on telnet telnet postfixmachineip 25 type 'ehlo localhost' you should see something like this: 250-randallbum.net 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-AUTH LOGIN PLAIN DIGEST-MD5 NTLM CRAM-MD5 250-AUTH=LOGIN PLAIN DIGEST-MD5 NTLM CRAM-MD5 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN now enter these commands and see if you get same response: AUTH PLAIN dGVzdAB0ZXN0AHRlc3RwYXNz 235 2.0.0 Authentication successful MAIL FROM:<anyreal@mailaddress> 250 2.1.0 Ok RCPT TO:<test@yourmail.net> 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> This is a test email message, this better f****** work! . << end message with '.' 250 2.0.0 Ok: queued as F11F234271 QUIT POPA3D opens POP port 110 on the post fix server and also authenticates with users on the system the same way as Postfix has been setup to do. You could test this by sending a test email to the test user using the above method then setup a client like 'Evolution' to receive POP mail by putting in these details under 'Receiving Mail' Server: postfixmachineip Username: test Now when you check for new mail it will ask for a password so use 'testpass' if you used method used here. And if all went well, you should of received the test email. Now you can do the same and put in the SMTP details for 'Sending Email' Dont forget to remove user 'test' and put in some real users with strong passwords and disable ssh access if needs be.
  12. Windows xp still lives on one of my partitions but this will be removed once i get a Mac running OS X so i can run multimedia appz like photoshop. There will be no place for Vista or infact any other Microsoft product at home.
  13. I use Debian on both boxes at home, nice solid stable distro.
×
×
  • Create New...