Emmabuntus, Ubuntu, Derivate, Linux, Open Source BackTrack, Linux, distributions, Ubuntu, derivate, securuty, forensic VirtualBox, Linux, Ubuntu, Raring Ringtail synaptic, Ubuntu, Linux, software packages jwplayer, multimedia, Linux, Ubuntu, flash Meshlab, graphic, software, Ubuntu, open source, Linux Synapse, Linux, Ubuntu, raring, Quantal Gimp, Ubuntu, Linux FreeMind, Linux, open source Linux, infographic, history

Configure and Run aMule for OS2 eComStation

Requirements:
IBM OS/2 Warp V. 2 -3 -4 4.5 -4-52 -WSeB -eCS 1.0 -eCS 1.1 -eCS 1.2 -eCS 1.2.1
32-bit TCP/IP
Setup:
PEOPLE BELIVE AMULE 2.0.3 CONFIGURATION IN ECS ENVIRONMENT IS VERY DIFFICOULT
DUE THE INSTABILITY OF THE PROGRAM (QUITE RIGHT). READ THIS STEP BY STEP
CAREFULLY AND YOU WILL MAKE AMULE MORE STABLE THAN ON OTHER OPERATING SYSTEMS!!!
STEP - 1
Install into a directory \amule (This is hardcoded, but at least you can
choose the drive)
STEP - 2
Run amuled.exe
It will fail, but create several files and directories under \amule
STEP - 3
Edit amule.conf, ideally with Enhanced Editor or AE editor so you wan't have
problems.
In the [ExternalConnect] section set
AcceptExternalConnections to 1
and
ECUseTCPPort to 1


728x90_donna_gif


STEP - 4
At eCS Command Prompt, into \amule directory, run "makepass "
where is your personal choice, assuming es. ,
simply type: "makepass eComStation" to md5 encode a password,
copy and paste it into
ECPassword field of amule.conf
(ignore the Syntax error prompted)
STEP - 5
You can also change TempDir and IncomingDir if you want. You can list
directory names in shareddir.dat file with files you want to share.
STEP - 6
Get a copy of "server.met" file for es. from http://ed2k.2x4u.de/index.html
and put it into \amule directory.
You can now run amuled.exe. It is the server that will do the uploading and
downloading.
Generally you should leave this running when ever you are
online.
You can now connect to it with "amulecmd -h 127.0.0.1" or "amuleweb -h
127.0.0.1", a web server that you connect to with http://127.0.0.1:4711/
from a webbrowser, like Firefox, Mozilla or IBMWebBrowser.
Amuleweb has more features and a better interface.
running amuleweb, it will ask for a password, type your choice

(password required, (remember your choice?), es. eComStation)
SEARCH FOR FILES AT WWW.EMUGLE.COM OR OTHER ED2K ENGINES, LIKE FILEHASH.COM, COPY AND
PASTE LINKS INTO ED2K FIELD!!!!!
ENJOY THE DIFFERENCE!!!!
______________________________________________________________________________________
Here my amule.conf, that is very stable!!!
eMule]
AppVersion=aMule 2.0.3
Nick= your choice
QueueSizePref=50
VerboseDebug=0
MaxUpload=30
MaxDownload=30
SlotAllocation=2
Port=4662
UDPPort=4672
UDPDisable=0
Autoconnect=1
MaxSourcesPerFile=300
MaxConnections=30
MaxConnectionsPerFiveSeconds=30
RemoveDeadServer=1
DeadServerRetry=2
ServerKeepAliveTimeout=0
Reconnect=1
Scoresystem=1
Serverlist=0
AddServersFromServer=1
AddServersFromClient=1
SafeServerConnect=0
AutoConnectStaticOnly=0
SmartIdCheck=1
TempDir=\\amule\\Temp
IncomingDir=\\amule\\Incoming
ICH=1
AICHTrust=0
CheckDiskspace=1
MinFreeDiskSpace=1
AddNewFilesPaused=0
PreviewPrio=1
ManualHighPrio=0
FullChunkTransfers=1
StartNextFile=0
StartNextFileSameCat=0
FileBufferSizePref=16
DAPPref=1
UAPPref=1
OSDirectory=\\amule\\
OnlineSignature=0
OnlineSignatureUpdate=5
EnableTrayIcon=0
MinToTray=0
ConfirmExit=0
TransferDoubleClick=1
StartupMinimized=0
3DDepth=10
ToolTipDelay=1
ShowOverhead=0
ShowInfoOnCatTabs=0
ShowRatesOnTitle=0
VideoPlayer=
VideoPreviewBackupped=1
StatGraphsInterval=3
statsInterval=30
DownloadCapacity=30
UploadCapacity=30
StatsAverageMinutes=5
Win an iPhone + iMusicCenter!
VariousStatisticsMaxValue=100
SeeShare=2
FilterLanIPs=1
IPFilterAutoLoad=1
IPFilterURL=
FilterLevel=127
FilterMessages=0
FilterAllMessages=0
MessagesFromFriendsOnly=0
MessageFromValidSourcesOnly=1
FilterWordMessages=0
MessageFilter=
ShareHiddenFiles=0
AutoSortDownloads=0
NewVersionCheck=0
Language=
SplitterbarPosition=75
YourHostname=
DateTimeFormat=%A, %x, %X
IndicateRatings=1
AllcatType=0
ShowAllNotCats=0
DisableKnownClientList=0
DisableQueueList=0
MaxMessageSessions=50
PermissionsFiles=416
PermissionsDirs=488
[FakeCheck]
Browser=0
BrowserTab=1
CustomBrowser=
[Proxy]
ProxyEnableProxy=0
ProxyType=0
ProxyName=
ProxyPort=1080
ProxyEnablePassword=0
ProxyUser=
ProxyPassword=
[ExternalConnect]
ExtractMetaDataTags=0
FullChunkAlloc=0
FullPartAlloc=0
AcceptExternalConnections=1
ECUseTCPPort=1
ECPort=4712
ECPassword=********************************* <- past here your md5 password!!!!!!!!! ShowProgressBar=1 ShowPercent=0 UseSrcSeeds=0 UseSecIdent=1 IpFilterOn=1 [WebServer] Enabled=0 Password= PasswordLow= Port=4711 UseGzip=1 UseLowRightsUser=0 PageRefreshTime=120 [Razor_Preferences] FastED2KLinksHandler=1 FullQueueSources=0 HighQueueRankingSources=0 HighQueueRanking=1200 AutoDropTimer=240 NoNeededSourcesHandling=2 [SkinGUIOptions] UseSkinFile=0 SkinFile=Chicane <------ OR DEFAULT OR OTHERS (stored in webserver directory) [Statistics] TotalDownloadedBytes=3746726668 TotalUploadedBytes=120592830249 DesktopMode=4 ________________________________________________________________________________________________ Here, also my remote.conf: [Webserver] UseGzip=1 Template=chicane <------ OR DEFAULT OR OTHERS (stored in webserver directory) PageRefreshTime=5 GraphHeight=149 GraphWidth=500 GraphScale=3 ________________________________________________________________________________________________ KNOW PROBLEMS If you have problems with Access Violations when amuled is running, reduce Max. Connections to about 40. This can be done from the preferances page in amuleweb. Where ever possible purchase material from the author, until copyright expires. See http://www.amule.org/ for more documenation See http://forum.amule.org/ for support ENJOY eComStation - DEEPLY DIFFERENT EXPERIENCE!!!!!!!!! THE UGLY DUCKLING First part: Informational part of the post:

The server hosting www.amule.org and most of our services had to go into maintenance several hours ago, and now it's operational again. Sorry for the downtime.
Second part: Extras, totally unnecessary information, personal opinion, shameless rant.

I have used multiple filesystems since I started using linux. And I started with Debian Bo, so some googling should give you how long I'm talking about. Granted, I'm definitely not one of the Ancient Ones, but I like to believe I've been using linux for a good chunk of time.
Actually, I might as well mention I have used computers since my first Amstrad CPC 464 and the Intel 8088 based PC I inherited from my cousin, which didn't even have a hard drive and ran MS-DOS 3.3 from 5¼-inch floppies.

That said, I have used the (scary) AMSDOS filesystem, whatever they called the CP/M file system, FAT12/16/32/X, NTFS in pretty much all its incarnations, ext2, ext3, HPFS, HFS Plus, UFS2 (I miss OS/2 Warp), JFS, ZFS, ReiserFS, XFS and probably others I can't remember, for I was young and liked to try shiny new stuff, even if only for a few hours.
Out of those, Ext2 (seemed to be the only reasonable linux option at the time), FAT/NTFS (for obvious reasons) and XFS (my current filesystem of choice) are the ones that I have used regularly over the years.

Except for some time, while still in college, that I decided ReiserFS seemed to be cool.

Back then, a 80GB hard drive was serious business. It felt like you could have your entire life in it. And heck, I was busy with some open source projects already, I used debian almost exclusively and was, as a matter of fact, enjoying life a lot. And at this wonderful peak point of my life, ReiserFS happened.

My ENORMOUS 80GB hard drive was divided in two partitions: Linux (70GB) and Windows (10GB). Yes, Windows - I also liked gaming between coding sessions (and, to be honest, instead of them a lot of the time) and I dare anyone to check the state of the Wine project back in 2001.

Of course, as the space in the Windows partition was fairly limited (and as much as Windows has become worse with time, 98 already required 500MB just for the basic installation), I had all my data in the linux partition. Heck, I was at linux most of the time, and didn't trust the FAT support back then. So I lived happily in my 70GB linux partition, with all my data: IRC/IM logs and email backups (I'm a fairly OCD person when it comes to historical data), pictures, music, videos, college data including the required programming exercises for my classes, papers for a couple classes, electronic documents with information needed to study some classes, and other data, all infinitely valuable for me because, well, it was my data. It was impressive how so much information could fit in that (my first hard drive was a wonderful 320MB chunk of heaven, and I was one of the lucky people - others started with hard drives that had barely more capacity than floppies themselves).

I was, in short, a very happy geek. A very happy, naive geek.

WARNING: Explicit content. If you're offended by swearing, do not continue reading, and just imagine the rest of the story. I don't think its hard at this point. If you continue reading, keep in mind this is my personal opinion and has nothing to do with the aMule project team as a whole. And it gets kinda technical (read: boring) at some point.

Out of all the filesystems mentioned above, only one of them seems to be consistently out to get me, shamelessly jumping when I least expect it for a full session of anal rape. I give you three chances at guessing it and the first two don't count.

Fucking ReiserFS. If I had to decide between going back in time to kill Hitler or prevent ReiserFS from existing, I wouldn't even blink before packing my time-traveler-compatible suitcase with clothes suitable for the California weather, and wouldn't even bother learning German.

One day in 2001, I was happily using my linux when I suddenly couldn't save the file geoscape.c that I was editing in nano. It just gave an error. A couple terminal windows and some research later, I noticed something very interesting: the dreaded "read-only filesystem" message.

"Well, ", I thought, "shit happens. I will reboot and let it replay the journal, maybe run fsck."

A very, very naive geek.

LILO appeared, I happily chose "1". Linux started booting. Some messages related to ReiserFS later, I had a kernel panic. For someone that had been a linux user for a while, and not the kind of user Ubuntu trains nowadays, a Kernel Panic meant "something is very wrong, but 99% of the times everything will be OK after turning the computer off and on". I even cracked a joke about restarting linux more than windows to one of my flatmates who happened to be around.

I pressed the power button. I waited a few seconds. I pressed it again.

LILO appeared, I chose "1", but more in an annoyed way than happily. The kernel started booting. The kernel failed to mount hda1.

What?.

Or, as this was 2001 and my life was still contained in my birth country

Que?

At this point I had gone from "gee-isn't-today-weird" mood to a very sombre one, spiked with nervous laughs. Ideas, ideas, ideas. Think think think. I know: I'll use the debian installation disk to boot and then mount the partition. God, I'm a fucking genius, and a very handsome one at that!

There we go! Installation starts, I switch to the other console, do my magic, attempt to mount the partition.

mount: you must specify the filesystem type

I had just lost everything. Everything. It took a while to sink in, then there was no option but to get drunk.

Believe me when I say I tried every single ReiserFS file recovery system available at the time. Nothing. No way to recover even a lousy .bash_profile. ReiserFS had managed to break the filesystem metadata, and it seemed that a lot of the data as well in the process.

How this happened I don't know. Maybe I could have used some manual recovery to get some of the stuff back, but I was young and impatient, and the option of getting drunk, followed by some reformatting of the partition in good old ext2 and a big "FUCK YOU REISERFS" yell about 5 times a day for a couple of weeks was all I could manage.

For those interested, the hardware didn't fail, and that hard drive is still operational, tho it was donated to a friend long time ago (he reports that it still works ok).

I lived the next 6 months thinking that I had been the unluckiest guy in the world that day. Yeah, I know, tons of african children die every day, but heck, I was in my early twenties, I was the center of the world and any drama happening to me was THE drama, for the same reason the data I lost was THE data, and possibly the most important loss humanity ever faced. To be honest, time hasn't done much about fixing that part of my personality, so we'll see when I hit my thirties.

Turns out, 6 months after I had my seas turn red and fire rain from the sky, a company I was working for had two servers' filesystems die on them in 48 hours. They first server had ReiserFS as the filesystem of choice, and showed the same behaviour as my own filesystem. The second one too. As a matter of fact, the second one was the backup server.

In that 48h time frame, the data disappeared from Server A, was restored from Server B to A, then disappeared from Server B. Had Server B's filesystem choked a day earlier, they could have faced a seriously shitty situation. They stopped using ReiserFS. Yeah, they should have had RAID, and actually they do nowadays, but we live and learn.

I had two sysadmins as my drinking partners for a few days.

Fast-forward years of joking about ReiserFS, telling this story to new linux users, arguing with ReiserFS zealots, and regrettably more drinking. Let's say for the sake of the story that now we're at 23rd of February, 2009.

I wake up to find the aMule webserver down. After briefly considering ignoring this event and just playing some games, I decide the users deserve better (and the developers too, as we host several other services there) and ssh to the box. Or to be exact, try to ssh to the box. I get some ssh key exchange error, and there's no way to access the server. Well, not the first time this server goes down, I guess that's why the web interface for the company that owns it has a soft reset/hard reset option.

I do a soft reset and the server happily ignores me like I'm a leper or something. Time for a hard reset, never a good thing. After waiting for ping to respond, I ssh to the server again. This time I get in, but everything is AWFULLY slow. First thing to check is top, and mysql is taking 100% of the CPU for no apparent reason. I leave it do its thing but it won't come back. I check the logs, but mysql has created no logs. My eyes narrow. I do 'touch ~/hello'. The response, of course, is "read only file system". I kill mysql (not like it can do anything to the filesystem at this point) and check dmesg: tons of errors when accessing the filesystem.

And then I remember and shiver.

The preinstalled linux image in this box from the company that hosts it uses ReiserFS. When deltaHF set up this box, that was the only option, ReiserFS. Had I been involved in setting up the server there would have been hell, and I would have either vetoed the company or tried to convince them to change the filesystem or at least give other options. But for 'real life'-related reasons I wasn't involved in it. And ReiserFS ended up being our filesystem of choice, because we had no choice.

And I, shame on me, did nothing about it after taking over the server administration. Call it a late-twenties crisis that made me naive and innocent again, call it faith in the blooming Open Source community, call it stupidity, call it laziness. The fact is we stayed with ReiserFS.

And when I restarted the box again, it didn't come back.

And when I booted the rescue system and tried to mout the partition, it didn't recognize the filesystem.

At this point I guess the two or three readers that are still loyal to this bahamut of a story will expect me to be either suicidal or ready for a mental institution. Hell, at least be in the mood to go and buy some bottles of vodka.

But I wasn't.

I was grinning.

Because this time, I had ReiserFS by the balls.

See, when I took over the administration of this server I found out we had not one, but two hard drives, and the second one was completely unused. So it was really a no-brainer for me to set up an automated backup from the main hard drive, and as a matter of fact, pipe the output of 'dd if=/dev/sda bs=1MB' to gzip and save it once a week, from the rescue system. And of course, format the backup drive's partition in XFS.

So, fuck you ReiserFS. Fuck you hard. It took me more time to write this post than to restore the data lost, with only one hour of it now living in Data Heaven. As a matter of fact, I think I will keep ReiserFS as the main filesystem, if only to see how he tries to have intercourse with me just to find out that I'm not that guy barely out of his teens and with a sharp, scientific mind that assumed no malice in simple things like a filesystem. I'm a happily married guy that has been in the computer scene long enough to know that perfectly innocuous-looking pieces of software and hardware are, in fact, out to get you. And when the day comes that they do get you (and they will!), they won't even have the courtesy to wear a condom.

And of course, its good to know that I have become mature enough to avoid taking cheap, insensitive shots at ReiserFS, even if I love black humour, but I couldn't avoid one of the oldest laws of the internet.

Fuck, it's 4am already. Do forgive my misspellings, awful grammar and anything I've done wrong in this text, including but not limited to writing it.

And if you want some friendly advice, never, ever use ReiserFS.


source: www.amule.org
DEM IWO 600x400

Related Post



Linux Links

    160x600     step




Share on Google Plus

About Hugo Repetto

Ubuntu is a Linux distribution that offers an operating system predominantly focused on desktop computers but also provides support for servers. Based on Debian GNU / Linux, Ubuntu focuses on ease of use, freedom in usage restriction, regular releases (every 6 months) and ease of installation.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment