Category ArchiveDebian
Category ArchiveDebian
Debian & Linux Daantje on 23 May 2005
You should connect using SSL, this goes through port 995. On the server you should enable this in your /etc/inetd.conf:
pop3s stream tcp nowait root /usr/sbin/tcpd /usr/sbin/ipop3d
Than restart inetd
/etc/init.d/inetd restart
Reconfigure your pop3 client so it uses SSL passwords trough port 995. And it all should
work… If you are using the server behind NAT, don’t forget to forward
the port 995!
But I had a problem with all my old Macintoshes connecting to my internal ‘debian/unstable (SID)’ pop3 (ipopd) server. Here’s how I enabled the plain text passwords again, and how I compiled new debian (.deb) packages again. (A real step-by-step howto I wrote for a friend of mine, so just copy paste the bold lines into your root shell. Even my mum can do this ;) )
First I created a directory:
mkdir /usr/src/ipopd
Go to the new created dir:
cd /usr/src/ipopd
And downloaded the debian source package:
apt-get source ipopd
Get dependencies:
apt-get build-dep ipopd
Now you should have the following:
Go to the directory ‘uw-imap-2002edebian1′
cd /usr/src/ipopd/uw-imap-2002edebian1
Edit the make file:
vi Makefile
Search for the config line (now some crash course vi 4 U :-)
/SSLTYPE=nopwd
(’/’ means search in vi and vim and we’re going to look for the needle ‘SSLTYPE=nopwd’, to search again for the same needle, use a backslash)
Edit the line:
i
(this will enable the editor, now you can type into the document, change the line ‘SSLTYPE=nopwd’ to ‘SSLTYPE=none’ when you don’t want to use SSL, set the line to ‘SSLTYPE=unix’ when you want to be able to use both.)
SSLTYPE=none
Now press the escape button on your keyboard ;) This will disable the editor again so we can give commands to save and quit…
:wq
(’:’ will give a command, ‘w’ = write, ‘q’ = quit)
Now we should have a prompt again… Let’s bake a package. ;) Now you’ll have to change the changelog, or else when we’ve build and installed this package, and we do an apt-get upgrade, our fresh baked package will be overwritten by the original one again. Now concentrate! ;) You’ll need to edit the changelog in a special
format.
Open the file in vi and ADD the following lines AT THE TOP of the changelog file:
vi debian/changelog
uw-imap (7:2002edebian1-3b1) unstable; urgency=low * Disabled secure passw... -- Daantje Mon, 05 Apr 2004 20:34:34 +0200Please mind the TWO spaces, between the email address and date!
I’ve updated the original version ‘7:2002edebian1-3′ to ‘7:2002edebian1-3b1′ so the next upgrade will be done by apt-get when there’s a new release.
Now compile it with the debian script:
debian/rules build
(Wait while your machine compiles…)
debian/rules binary
(Wait while your machine creates the packages…)
The packages should be one directory above, we want to install them all! ;)
dpkg -i ../*.deb
(Wait wile it’s installing the packages)
We are done! Check your mail! Drink beer!
Debian Daantje on 21 Feb 2005
Here are the 10 steps to get drunk:
su
cd /usr/src/ wget ftp://dl.xs4all.nl/pub/mirror/linux-kernel/v2.4/linux-2.4.29.tar.bz2
tar -jxvf linux-2.4.29.tar.bz2
ln -s linux-2.4.29 linux
apt-get install libncurses5-dev kernel-package
cd /usr/src/linux make menuconfig
make-kpkg clean make-kpkg --revision=custom.myfisrttry.1.0 kernel_image
This can take a while, make some coffee…
make-kpkg --revision=custom.myfisrttry.1.0 modules_image
dpkg -i kernel-image-2.4.29_custom.myfirsttry.1.0_i386.deb
And if you have some module deps you should install them too!
reboot
Familiar & Debian & Internet & Linux Daantje on 08 Jan 2005
Here’s how I got an PPP connection trough my serial port. Before I can have internet on my iPAQ (with an familiar distro installed on it…) I had to compile a new kernel on my laptop with ‘PPP filtering’ enabled. You can find it under ‘Network Devices’ in ‘make menuconfig’. For IP portforwarding you’ll have to have some more stuff in your kernel you can find here. How to build a custom Debian kernel package is here. Also installed ‘ppp’ on my laptop with:
apt-get install ppp
Before we go on, I’ve got an internal network with a NetGear router, it’s IP number is 192.168.1.1 and it’s the internal gateway and DNS server of my laptop. When you don’t have the same setup, change the 192.168.1.1 into the IP number from the gateway (or DNS) from your access-provider.
Then I made a file ‘/etc/ppp/peers/ipaq‘ on my laptop, with this content:
-detach noauth nocrtscts lock local ms-dns 192.168.1.1 user ppp connect '/usr/sbin/chat -v -t3 ogin--ogin: ppp' /dev/ttyS0 115200 192.168.0.1:192.168.0.2
Then edit the ‘/etc/modules.conf‘ on the iPAQ and add these lines to it:
alias /dev/ppp ppp_generic alias char-major-108 ppp_generic alias tty-ldisc-3 ppp_async alias tty-ldisc-14 ppp_synctty
Then add to ‘/etc/modules‘
ppp_async
Now reboot your iPAQ with the command ‘reboot’. Then kill your minicom, if it’s on… and then open the ppp connection to the iPAQ from your PC, on Debian you do that with
pon ipaq
When it works you’ll see this
Serial connection established. Using interface ppp0 Connect: ppp0 <--> /dev/ttyS0 Cannot determine ethernet address for proxy ARP local IP address 192.168.0.1 remote IP address 192.168.0.2
Now you can ssh to the iPAQ…
ssh root@192.168.0.2
With me the login takes a second or 10… So be patient, it’s a serial connection ;)
Now you want internet on your iPAQ trough your serial PPP connection. So when you’ve compiled IP portforwarding (see my howto) in your kernel, you do the following. Make a file ‘ipmasq.sh’ with the following contents:
#!/bin/sh #Assuming external internet card is eth0, and IP is 192.168.1.2 # modprobe ipt_MASQUERADE; #Uncomment line above when you didn't compile it into the kernel iptables -F; iptables -t nat -F; iptables -t mangle -F; iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 192.168.1.2; echo 1 > /proc/sys/net/ipv4/ip_forward;
Make the file executeable by doing:
chmod +x ipmasq.sh
Now start it as root
./ipmasq.sh
Okay, now you should be able to ping your gateway, in my case 192.168.1.1. When you’ve got a ping the ipmasq works. Now try to ping www.google.com, that should work now to!
Now you can upgrade your distro with
/root/postinst ipkg update ipkg upgrade ipkg install less ipkg list | less ipkg install madplay
Have fun ;)
Debian & Linux Daantje on 28 Mar 2004
I have again a new mouse… An Optical Microsoft mouse with 2 buttons and a scrollwheel that can be used as a thirth button too. This makes 5 buttons in total… This is what I use in my XFree86-4 config file. I use the mouse on a USB port…
Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "CorePointer" Option "Protocol" "IMPS/2" Option "ZAxismapping" "4 5" Option "Buttons" "5" Option "Device" "/dev/input/mouse0" EndSection
Don’t forget to add the lineInputDevice “Mouse1″to the section Section “ServerLayout”
Debian & Internet & Fun Daantje on 19 Apr 2003
I have a new (small) server online. Debian on it ;) Going to run a quake server on it for my new project Quakezone.nl ;) AI
Debian & Linux Daantje on 19 Mar 2003
I have a new mouse… An Optical Microsoft Intellimouse with 5 buttons and a scrollwheel. This makes 7 buttons in total… This is what I use in my XFree86-4 config file
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "CorePointer" Option "Device" "/dev/mouse" Option "Protocol" "IMPS/2" Option "Buttons" "7" Option "Emulate3Buttons" "off" Option "ZAxisMapping" "4 5" EndSection
Don’t forget to add the lineInputDevice “Mouse0″to the section Section “ServerLayout”
Debian & Personal Daantje on 10 Mar 2003
Only to use Quanta 3 I downgraded my laptop from Sarge to Woody, but not without manny shit! But I’m online again. To use KDE3.x on Woody, I used this in my sources.list ‘deb http://ktown.kde.org/~nolden/kde stable main’ And then apt-get update, and apt-get install kdebase quanta… And there we have quanta 3 ;-) AIAIAI
Debian & Linux Daantje on 26 Jan 2003
After trying all drivers for the Prism2 chipset, Debian updated there Orinoco/Hermes driver, and it works! But it only works for me when I run it as a dynamic kernel module ([M]), not when I compile it into the kernel ([*])!!! I will post what stuff you’ll have to select in menuconfig later. If you wanna know now, drop me an email.
Purchase Cheap Oem Adobe Flash Professional Cs5 In German
Buy Microsoft Windows 7 Ultimate Sp1 Online Microsoft Office 2010 Visio Premium Online Purchase Adobe Dreamweaver Cs5 Online Oem Adobe Dreamweaver Cs5 In German Online Purchase Microsoft Windows Vista Ultimate Sp1 Online Purchase Discounted Microsoft Office 2008 For Mac Online Purchase Adobe Creative Suite 4 Design Premium Buy Cheap Adobe Photoshop Lightroom 3.2 In German Online Buy Cheap Adobe Photoshop Cs3 ExtendedBuy Cheap Oem Microsoft Office 2004 Pro For Mac
Buy Discounted Oem Adobe Creative Suite 5.5 Master Collection
Purchase Discounted Oem Microsoft Office 2003 Professional Edition Purchase Cheap Adobe Photoshop Cs3 Extended Online Cheap Oem Adobe Fireworks Cs4 For Mac Discounted Oem Adobe Acrobat 8 Pro For Mac Online Purchase Discounted Adobe Creative Suite 5.5 Master Collection Multilanguage Online Purchase Cheap Adobe Premiere Pro Cs5.5 Online