Thursday, December 29, 2005

Freaking Amazing!! Apt for Suse

Ahhhh.... finally!!!
Apt.. no more worrying about dependancies... peace on earth!
Read This and Weep for Joy!
Wiki: Installing apt4suse
Once thats done, its a simple
apt-cache search [appName]
to find what you want. Once you do then:
apt-get install [appName]
will install it and it's dependancies for you..

Easy!

Mp3s with XMMS in Suse..

SUSE seems to have left out mp3 support with Suse 10. AmaroK plays mp3s fine but... Im more used to the WinAmp look..
So..
I installed Beep Media Player. Dont ask why..
Followed instructions from here: http://forums.suselinuxsupport.de/index.php?showtopic=21581
And installed the bmp-plugins-mad: Beep Media Player Plug-Ins from here: http://www.novell.com/linux/download/updates/93_i386.html

Voila! Baby you can sleep while I drive!!!!

Sunday, December 4, 2005

Forcing a drive to unmount...

If umount /mnt/[driveName] says that device is busy then it means that some process is still accesing the drive..

To check what process is accessing the drive, try
fuser -v /mnt/[driveName]..
In my case, i got

Sorceress:/windows # fuser -v /windows/audio/

USER PID ACCESS COMMAND
/windows/audio/ wraith 5854 f.... konqueror
root kernel mount /windows/audio


So all i do is kill the konqueror process with a
Kill 5854
and the device umounts successfully

Great source for understanding the /etc/fstab file that has the filesystem configuration information: http://www.tuxfiles.org/linuxhelp/fstab.html

Monday, November 28, 2005

Changing Permissions With Numbers

Each permission setting can be represented by a numerical value:


  • r = 4

  • w = 2

  • x = 1

  • - = 0


When these values are added together, the total is used to set specific permissions.


For sneakers.txt, here are the numerical permissions settings:



 -  (rw-)   (rw-)  (r--)
| | |
4+2+0 4+2+0 4+0+0

The total for the user is six, the total for the group is six and the total for others is four. The permissions setting, then, is read as 664.


If you want to change sneakers.txt so those in your group will not have write access, but can still read the file, remove the access by subtracting 2 from that set of numbers.


The numerical values, then, would become six, four, and four — or 644.


So type:


chmod 644 sneakers.txt

-- snapped from Changing permisions with Numbers

Monday, November 21, 2005

Installing RPM packages

Installing RPM packages:
# rpm -ivh filename.rpm : to install a new package, or
# rpm -Uvh filename.rpm : to upgrade an installed package

Saturday, November 19, 2005

Configuring KMLDonkey and mlnet

I struggled with this for quite a while, not really knowing what to do.. finally figured it out..

SUSE 10.0 came installed with KMLDonkey.. But for it to work the mlnet core is required so i downloaded the latest version from:
Followed the installation instructions from MLdonkey World
But after running ./mlnet it spewed this

wraith@Sorceress:~/mldonkey-2.7.0> ./mlnet
2005/11/19 20:35:41 Starting MLDonkey 2.7.0 ...
2005/11/19 20:35:41 Language EN, locale UTF-8
2005/11/19 20:35:41 MLDonkey is working in /home/wraith/.mldonkey
2005/11/19 20:35:41 [DNS] Resolving [Sorceress] ...
2005/11/19 20:35:41 [DNS] Resolving [www.mldonkey.net] ...
2005/11/19 20:35:42 Logging in /home/wraith/.mldonkey/mlnet.log

it would shutdown.. I was quite lost till i read the bit that said Logging in /home/wraith/.mldonkey/mlnet.log and checked the log file mentioned and found

2005/11/19 20:35:42 enabling networks: Exception: bind failed: Address already in use at port 4662
This is normally caused by another application currently using this port.
Close that application and restart MLDonkey, exiting...

so now I had to figure out what was blocking or running on port 4462.. Googled it and seems eMule runs on the same port and eMule was running everytime I tried to start the mlnet core.. So i changed the settings in eMule to use a different port and restarted eMule.

Tried the code again and it started fine. I ran KMLDonkey and changed the settings to point to the mlnet file for the core and it connected to the servers fine..

Thursday, November 17, 2005

Installing Limewire

The rpm on limewire.com didnt seem to work.. so i followed the instructions at: http://www.susewiki.org/index.php?title=Installing_LimeWire with some changes..

1. i got an error for the gedit line:
sudo: gedit: command not found
I guess gedit is some kinda text editor tool.. so i manually went to the folder and created the file and pasted the text in it..

2. The instructions seem to be for a Gnome system.. i run KDE.. so instead of creating a .desktop file in the gnome directory.. it created it in the kde directory...

Seems to work now... hmmmm.... DOWNLOAD!!!!!!

Sunday, November 13, 2005

Perfecting the Samba!!

Once again... reinstalled... put Suse 10.0 and learnt more abt configuring my box..
In my previous post abt samba I was unsure abt how I got Samba to start..

... So I guess the key is to coax the smbd, nmbd & winbindd services to run after making all the required changes.
-from Samba... Lets Dance!!!

Well.. it should have been obvious but being a newbie it didnt strike me...
When installed, Samba isnt initialized by default.. So basically Samba isnt started when the machine boots.. it needs to be manually started..
The way to get it to startup at boot is to go to the Samba Server tool in YaST and choose the 'start-at-boot' option.
To start SWAT change the line in the file 'swat' located in /etc/xinetd.d/ to
disable = no from the default 'yes'.

And thats it.. Initilize Samba and SWAT.. Configure the (/etc/samba/) smb.conf file... Create a user smbpasswd -a username and you're good to go!

Wednesday, June 22, 2005

Launch 'em Yahoo!!

Get Yahoo!'s Launch to work with Firefox. As you know Yahoo! is stuck on making LaunchCast work only with Internet Explorer.. Getting it to work with FireFox on Windows let alone FireFox on Linux seemed daunting..

At first I thought that Browser Masquerading was the answer, but that didnt work and even caused FireFox to crash a few times for some reason.. I gave up...

While browsing thru my fav forum linuxforums I stumbled upon a neat workaround..


All you have to do is:
1. Install the Grease Monkey extension for FireFox.. and restart FireFox.
2. Click and open the pklaunch.user.js in FireFox.
3. And install it by clicking on Tools / Install User Script...

Check Out Pooyak for more details..

Yahooooooooooo!

Monday, June 20, 2005

Quake 3: Fragg 'em all!!!

Finally got down to installing Quake 3 on linux... Installed the RPM and linked the pak0.pak file from my dump of Quake3.
Ran quake3 in the Konsole and.... baM! graphics problems..
ERROR:
You are using software Mesa (no hardware acceleration)!
..... (some more things... can't remember verbatim)
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


Mostly means... No 3D acceleration enabled.. googled a bit.. Downloaded the NVidia Drivers and followed the instruction at LinuQuestions Forum

QUAKE 3: 3D Acceleration Solution...
1. went to a shell prompt CTL-ALT and F1.
2. Login as Root and enter the password.
3. at the prompt #init 3 which kills the Xserver.
4. go to the directory that has the NVIDIA installer and run the installer.
sh NVIDIA-Linux-1.0-(number or version).run -q <--this uninstalls previous driver versions and runs the new install
4. after the installer has created the kernel module the next step makes all the difference.
5. modprobe nvidia <--This previous step loads the nvidia driver into memory so sax will run correctly.
6. Then type sax2 -m 0=nvidia (0 is a digit, not a letter!)
7. After sax is done. enter init 5 to restart Xserver.[B]
8. Logout of the Shell and press CTL ALT F7 to be in the Window.
9. Reboot the System.

At step 7 I tried to make sax2 make my system look pretty by fiddling around.. and when i re-booted X crashed and wouldnt come back up... luckily I had made a copy of xconf (/etc/X11) i overwrote it (the mc editor rox!)... i ran the whole process again from step 1 and this time at step 7 I just went with what sax2 suggested,, and all was fine after a reboot!!.. phew!!

Tried to run quake3 again and woo hoo it works.. but no SoUNd!!!! bah!!
ERROR:
/dev/dsp: Input/output error
Could not mmap /dev/dsp"


some more googling and using common sense and I came across this: ALSA Wiki and typed in the konsole..

Quake 3: Sound Solution
(as root)
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss


and with that... strangly.. sound works!! woo hoo.. but it works only in the Introduction Level, if i tried to play any level in Tier 1 or play in an Arena as soon as it said 'wRaiTh has entered game' the sound and video would hang.. so i had to kill the process by Ctrl+Alt+F1 and as root ps -A and kill (quake process number)

after more googling i tried: artsdsp -m quake3
but got..: artsdsp works only for binaries

more googling and forum posting led me to try: artsdsp -m quake3.x86 in the quake3 directory...

and volia!! it works!!! ... dug up some cd keys from google.. and im fraggin butt!!!!!

Sunday, June 12, 2005

Apache Virtual Directories

Struggling for days to try to setup virtual directories.. And no clue what Im doing.. Like playing in the muck..
Finally, I beleive what I was doing wrong was that after making changes to httpd.conf (/etc/apache2) & other config files, i didnt restart Apache.. I was under the impression that apache re-reads it's config files every so often.. I just realised that Samba does that.. Finally ive got my website up and I can access my windows mounts.. all is good...

To Restart Apache: apache2ctl restart (note: as root)

Changes made to make /windows/ a virtual directory...
... added to /etc/apache2/default-server.conf

# Aliases: aliases can be added as needed (with no limit). The format is
# Alias fakename realname
#
# This is an Alias for my /windows dir that has my
# windows drives that i want to be exposed on my site

Alias /windows/ "/windows/"

Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all


Moral of the story: Restart Service after changes..

Tuesday, April 26, 2005

Replacement Windows software in Linux.

Looking for a Linux equivalent of that windows software that you like?? check this out The table of equivalents / replacements / analogs of Windows software in Linux.

...One of the biggest difficulties in migrating from Windows to Linux is the lack of knowledge about comparable software. Newbies usually search for Linux analogs of Windows software, and advanced Linux-users cannot answer their questions since they often don't know too much about Windows :). This list of Linux equivalents / replacements / analogs of Windows software is based on our own experience and on the information obtained from the visitors of this page (thanks!).
...taken from LinuxShop

Linux Permissions

Every directory and file has an owner and an owning group. Similarly, each has permissions. These permissions are presented in the following manner:

owner - group - others

Permissions can be represented as numbers or as letters. For numbers, the following key is used:

Readable = 1
Writable = 2
Executable = 4

So to make a file rwx for only the owner, you would do
chmod 700 FILE

If you wanted it rwx by the owner and group, but only rx by others, you would do:
chmod 775 FILE


Permissions are also represented by letters. As such, a permission of 777 corresponds to:

rwxrwxrwx

775 would be

rwxrwxr-x

To change permissions in a letter way, you still use chmod, but you have different symbols:

u = owner (user)
g = group
o = others
r = readable
w = writable
x = executable

So to make a file have 777 permissions, you could do:
chmod uog+rwx

Or, since you're doing it to everyone, you could just say:
chmod +rwx FILE

But what if you want to do 775?

chmod ug=rwx
chmod o=rx

The = obviously sets the permissions to EQUAL that. The + adds those permissions, and the - removes those permissions.

...taken from post on Linux Forums: Root Prompt Access

Friday, April 22, 2005

Add Installation Sources

The Suse installation CDs have only so many .rpms. To simplify the search for .rpms you can add the two popular suse rpm websites to your Installation Source. So when you look thru the YaST install and remove packages it will not only scan your installation CD/DVD for the package but also the websites you add.

Go into "Change Source of Installation" in YaST and add the following two entries:

Add > HTTP
Server Name: packman.iu-bremen.de
Directory on Server: suse/9.3

Add > HTTP
Server Name: ftp.gwdg.de
Directory on Server: pub/linux/misc/suser-guru/rpm/9.3

NOTE: change 9.3 to your SUSE version. Also double check at the websites if they support your version. I know that Guru and Packman have sources for 9.1, 2 & 3.. but dont take my word for it.. double check

Yes.. I installed Suse 9.3.. I was thoroughly unsatisfied with 9.2. I installed 9.1 again and then downloaded 9.3 overnight and did a fresh install of it.. so many reinstalls.. so little 'brains'!.. There are a few sites like KNET that have torrents for Suse 9.3.. Run a search...

Monday, April 18, 2005

Restart Apache

If you need to restart Apache to have it re-read the httpd.conf configuration file then type this in the consile:
kill -HUP `cat /usr/local/apache2/logs/httpd.pid`

Explination:
HUP Signal: restart now

Sending the HUP signal to the parent causes it to kill off its children like in TERM but the parent doesn't exit. It re-reads its configuration files, and re-opens any log files. Then it spawns a new set of children and continues serving hits.

Users of the status module will notice that the server statistics are set to zero when a HUP is sent.

Note: If your configuration file has errors in it when you issue a restart then your parent will not restart, it will exit with an error. See below for a method of avoiding this.


...taken from Stopping and Restarting Apache

Sunday, April 17, 2005

Stopping Processes

ps is the shortage for Process Status. The command displays the currently running processes on the system. Quite like the 'Task-Manager' which pops up under Windows NT/2000/XP when you press CTRL+ALT+DEL 'cept here you type 'ps' in a console window and it lists all the processes with their PID (process ID). Why do you need the process id? You can stop the process with the help of the 'kill' command. The kill command needs a process number otherwise it won't know to which process it should send the 'kill' signal.

Typing 'ps' will list only some processes. To list all processes:
ps -A

Sample Output:

14098 ? 00:00:00 httpd
14586 ? 00:00:00 pickup
14638 ? 00:01:46 firefox-bin
14648 ? 00:00:00 gconfd-2
14828 ? 00:00:00 yast2
14845 ? 00:00:09 y2base
15121 ? 00:00:00 kdeinit


Kill a process: kill (PID #)
eg. To kill the firefox browser: kill 14638

Kill em all...
We're all gonna die!!!

Sunday, April 10, 2005

Linux Directory Structure

Parts of a Unix directory tree

/ Root
|---root The home directory for the root user
|---home Contains the user's home directories
|    |----ftp Users include many services as listed here
|    |----httpd
|    |----samba
|    |----user1
|    |----user2
|---bin Commands needed during bootup that might be needed by normal users
|---sbin Like bin but commands are not intended for normal users. Commands run by LINUX.
|---proc This filesystem is not on a disk. Exists in the kernels imagination (virtual). This directory
|    | Holds information about kernel parameters and system configuration.
|    |----1 A directory with info about process number 1. Each process
|      has a directory below proc.
|---usr Contains all commands, libraries, man pages, games and static files for normal
|    | operation.
|    |----bin Almost all user commands. some commands are in /bin or /usr/local/bin.
|    |----sbin System admin commands not needed on the root filesystem. e.g., most server
|    | programs.
|    |----include Header files for the C programming language. Should be below /user/lib for
|    | consistency.
|    |----lib Unchanging data files for programs and subsystems
|    |----local The place for locally installed software and other files.
|    |----man Manual pages
|    |----info Info documents
|    |----doc Documentation for various packages
|    |----tmp
|    |----X11R6 The X windows system files. There is a directory similar to usr below this
|    | directory.
|    |----X386 Like X11R6 but for X11 release 5
|---boot Files used by the bootstrap loader, LILO. Kernel images are often kept here.
|---lib Shared libraries needed by the programs on the root filesystem
|    |----modules Loadable kernel modules, especially those needed to boot the system after
|      disasters.
|---dev Device files for devices such as disk drives, serial ports, etc.
|---etc Configuration files specific to the machine.
|    |----skel When a home directory is created it is initialized with files from this directory
|    |----sysconfig Files that configure the linux system for networking, keyboard, time, and more.
|---var Contains files that change for mail, news, printers log files, man pages, temp files
|    |----file
|    |----lib Files that change while the system is running normally
|    |----local Variable data for programs installed in /usr/local.
|    |----lock Lock files. Used by a program to indicate it is using a particular device or file
|    |----log Log files from programs such as login and syslog which logs all logins,
|    | logouts, and other system messages.
|    |----run Files that contain information about the system that is valid until the system is
|    | next booted
|    |----spool Directories for mail, printer spools, news and other spooled work.
|    |----tmp Temporary files that are large or need to exist for longer than they should in
|    | /tmp.
|    |----catman A cache for man pages that are formatted on demand
|---mnt Mount points for temporary mounts by the system administrator.
|---tmp Temporary files. Programs running after bootup should use /var/tmp.


..taken from The Computer Technology Documentation Project

Re-Install again

..once again.. same story.. reinstall..
tried to upgrade 9.1 to 9.2 and i guess the change to the different X the machine had some problems.
X wont start: Failed to initialize core devices Tried to reslove the issue by creating a symlink /usr/X11R6/lib/X11/xkb/rules/xorg (i think) and ran xorgconfig. It detected the keyboard fine but I couldnt remember my Video settings so it began giving me a display related error when I started startx.
So i gave up since i had to intall 9.2 anyways.
Strange thing abt 9.2 is it doesnt have a lot of options that 9.1 has, like Apache and stuff.. I still figuring that one out.
And the adventure re-re-begins.

Friday, April 8, 2005

Things to Do..

Vacation in another 5 Hours!! 2 Weeks of Geekdome!! Free from Toshiba & Siemens!! Ah!!!

Things To Do:
- Install Suse 9.2 ...done
- Get Gnome Working ...done
- Convert Drives to FAT from NTFS ...done (used partition magic)

- Get MLDonkey going ...done
- Get Bittorrent GUI working ...done
- Work on Apache website.
- Work on vsFTP

- Try Sync Pocket PC
- Try Sync iPod

(will add, subtract, update list as I go)

Wednesday, April 6, 2005

Sticky4Me: Linux E-Books

LinuxForum.com post on sources from Linux e-Books.
http://www.linuxforums.org/forum/topic-37471.html

Saturday, April 2, 2005

Very Safe FTP

Installing was simple.. but setting it up MY way isnt.. I still haven't figured out how to create a Virtual Directory or Alias Directory as I could in Windows' IIS. LinuxForums: Virtual Directory for FTP

- Install vsFTP from YaST.
- Change this value in vsftpd (/etc/xinetd.d/) file to enable the service.
disable = no
- Run from console:
/etc/init.d/xinetd restart

Thats it. The Server is located on file:/srv/ftp so you can put stuff here to share via FTP. The config file is stored in /etc/vsftpd.conf if you want to muck around with advanced stuff


Ref Link:
http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/ftp-server.htm
http://freshmeat.net/projects/vsftpd/

Installing Firefox with that damned libpopt!

Somehow I dont like Konqurer too much. Guess I'm too used to Firefox and its IE similar features. While installing Firefox though I had tons of trouble coz it kept popping up an error while installing the RPM that a dependancy libpopt.so.0 was required. I searched high and low for the popt library. Strangly it was already installed when i checked YaST. I downloaded a few RPMs for libpopt but it still kept saying that the dependancy wasn't found. So I installed FireFox from the Mozilla website.. but it didnt seem to work quite right. finally after googling around I came upon a solution that kinda worked.


- Uninstalled/deleted all versions of FireFox or Mozilla.
- Restarted the system.
- Installed popt Version: 1.7-176.3
- Installed MozillaFirefox Version: 1.0.2-0.1

Somehow this worked.. dunno what did it..
But Firefox v0.08 got installed !??! dont ask how.. but its working. Theres some security warning abt it so I'd better figure out how to upgrade it soon.. but at least I can update my blog from Linux now.. Konqueror wouldnt let me do that!
FireFoxed!

ReInstall OS !!!!

Yeah.. I tried to see if i can format the wasting windows partition using YaST to be used by linux and dunno what went wrong but I kept starting in text mode and it wouldnt let me startx...read some posts online abt this problem but i gave up... so.. i reinstalled.

no more windows partition.. my entire 40gb hdd is now dedicated to linux.. im trying to figure out how to change the format of my 120gig to fat from ntfs without losing data coz writing to ntfs isnt stable in linux and my heart and soul is on that hdd.

im so glad i wrote down the processes for setting up stuff.. its helping tons now that i have to resetup the machine.. ive put updates where im missing better explinations in the posts...

the adventure re-begins!

Tuesday, March 22, 2005

Logitech Mx700 Mouse

Confident after setting up Samba.. Next thing is to get my keyboard and mouse working.. I miss using the thumb buttons to go Back and Forward Webpages when online and using the media buttons.

After googling around heres what I've done. Following instructions on this page How to set up a Logitech MX500 and this one Getting the most of Microsoft Explorer mouse I got the mouse navigate buttons to work. What I mostly did was..

1. I uninstalled the old version of imwheel from YaST and installed the latest version of imwheel from the imwheel homepage. Check the INSTALL file for installation details
..update you might need to install the X11 Library files from YaST.

2. Changed the 'Xconfig' file (/etc/X11), after making a backup, to look like this:

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "ButtonNumber" "7"
Option "Buttons" "7"
Option "Device" "/dev/mouse"
Option "Name" "Automatic"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7"
EndSection

3. Restarted Machine.. The scroll wheel wont work now but the thumb buttons will trigger scrolling. Thats coz programs usually recognise buttons 4 & 5 as scroll buttons and when we change the number of buttons to 7, the thumb buttons become button 4-5 and the scroll wheel become 6 & 7.
The scroll wheel is counted as 2 buttons that invoke the page up and page down keystrokes. A better explination of all this is in the links above.
You can use the console command 'xev' that reports mouse events to see what button corresponds to what #. (This should be useful when configuring the Keyboard)

4. Logged in as root and in the console window swapped the 4 & 5 buttons for the 6 & 7 buttons using xmodmap to get the scroll wheel to work correctly.

xmodmap -pp
xmodmap -e "pointer = 1 2 3 6 7 4 5"
xmodmap -pp

5. Edited imwheelrc (/etc/X11/imwheel), after making a copy. Added these lines to invoke the Alt+LeftArrow & Alt+RightArrow keystrokes that are shortcuts to move back & forward webpages in most browsers. The .* indicates that this key even should be invoked in and program.

".*"
None,Up,Alt_L|Left
None,Down,Alt_L|Right

Thats where I stopped last night coz Arati needed me to help her make her scrumptous Prawn Biryani.. yum!

6. Today I ran these commands in the console. And the navigation buttons work..

imwheel -p -b "67"

..update
7. Next created a startup script for X windows that would run two commands at startup so that the changes are permanent. Made changes in /etc/X11/xinit/ to the 'xinitrc' file. Added these lines at the top of the file

#-----------imwheel mousewheel hack------------
[ -r /etc/sysconfig/mouse ] && . /etc/sysconfig/mouse
/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
BINARY=$(which imwheel)
BINARY= $-p -b "67"
#-----------imwheel mousewheel hack ends -------


Thats It!!

Research Links :
http://linux.netpimpz.com/mx700/
http://www.glaurung.demon.co.uk/info/linux.mx500.howto.html
http://kryz.org/linux.html
http://www.groundhog1.com/mouse/MSExplorer.html
Discussions about Suse Linux List (suse-linux-e-help@suse.com)

Samba... Lets Dance!!!

Its Working!!! And plz dont ask how! I have no clue!!
After almost a week of struggle its working. I've tried to recall what i did but i might've missed some important details..

I decided to install Samba 3.0 and see if that helped but 3.0 wasnt installing.. gave some libpopt required error.. so i gave up.. (Actually, I already had 3.0 but at the time I didnt know that! :O I realised it later on)

Then I got fedup.. No one on #samba (irc) was replying so I deleted everything in my (/etc/samba/) smb.conf and just put in the basics:

# Global parameters
[global]
workgroup = ETERNIA
server string = Samba Server
interfaces = 127.0.0.1, eth0, eth1, eth2
bind interfaces only = Yes

[nuxaudio]
comment = Audio (D:)
path = /windows/D/

Tested it in the console at the /etc/samba/ directory with
testparm smbd.conf
And then I opened SWAT from http://localhost:901 and fiddled a bit there. I clearly remeber starting all the services and commiting changes.. and after that... i could connect to the sorceress using:

net use e: \\sorceress\nuxaudio

which basically maps the 'nuxaudio' folder to the 'e:' drive. But I got a password prompt and no matter what I tried wraith or root nothing worked. I tried setting the SHARED instead of USERS but I dont think that quite worked. After a lil research I found out that samba has its own user/passwd list. So I created some users.

smbpasswd -a wraith

and volia!! i could access my shares from NN!!! Neat..

I'll tweak it over the week, but finally this is working!!! woo hoo!!
Heres my current smb.conf (/etc/samba)

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/03/21 14:19:47

# Global parameters
[global]
workgroup = ETERNIA
server string = Samba Server
interfaces = 127.0.0.1, eth0, eth1, eth2
bind interfaces only = Yes
local master = No
ldap suffix = dc=example,dc=com
valid users = wraith, Wraith

[nuxaudio]
comment = Audio (D:)
path = /windows/D/

[nuxneuro]
comment = Neuro(F)
path = /windows/F/

[nuxvideo]
comment = Video(E)
path = /windows/E/

[nuxvirtuo]
comment = Virtuo(G)
path = /windows/G/




..update
Since I needed to reconfigure the system after the reinstall, I think I just realised what it was that I did to make samba work.
Even after enabling Samba Server & Client from YaST and changing the smb.conf file to look like above the problem is that the samba services aren't running yet. So, SWAT would not start and i could not see my machine in NW Neighbourhood but could access the windows machines. After mucking around and a few restarts (around 3) the services started so SWAT and Samba were working.
So I guess the key is to coax the smbd, nmbd & winbindd services to run after making all the required changes.
Cheers!

Saturday, March 19, 2005

Samba et Apache: Figuring it out

After some research last night i figured out that the DNS on samba isnt working. neeed to enable WINs or point samba to a WINS server. something like that.. still need to read up abt that..

I managed to setup the Apache WebServer. Got my website up.


..update
I forgot to put details of how i got Apache running. Quite simple actually.
Enable the Apache Server from Yast Network Services> Http Server.
The Web Server is located on /srv/www/htdocs. Store all the files here. Name the main page 'index.html' and its done.
The config file is stored in /etc/apache2 httpd.config if you want to muck with advanced settings.

Strange thing is that within the network i can access the website only with the internal 192.168.0.101 IP but not with the hostname or WAN IP (69.*.*.*). Called D-Link and they say thats how the router is.. Hard to believe but i checked online and a number of ppl have had this problem on some routers.. some router work fine. The solution, which really sux, is to edit the LMHOSTS file on the machines and add
192.168.0.101 gwyneth.gotdns.com
to it.. i hate these band-aid solutions. machines should automatically figure these things out.. bah!

right now the web-server is barely doing what the website indicates. still need to setup an FTP server et al. Linux with it permissions and maha security confuses me..

Linux certianly isn't reccomended for novice users.. theres tons of configuration to be done!

Friday, March 18, 2005

Samba!

The only thing that I miss from windows is the ability to share files and folders across the house. Ive still not figured it out..



What I Did:
` Installed Samba from YaST
` Setup Samba Client and Server with Shares
` Install LISa from YaST
-Restarted..

Lisa is a graphical interface for Samba but LISa doesnt work for me.. still have to get that going.

With after logging in as root into the console, I can read network shares by IP Address but not with the NetBIOS name.

smbclient -L Stripperella -U Arati

Gives me errors that it cant find Stripperella but

smbclient -L 192.168.0.114 -U Arati

shows me the shares on Stripperella and some wierd error. Using

smbmount -o username=Arati, password= //192.168.0.114/Kwap /network/Stripperella/Kwap

I can map the 'Kwap' folder on Stripperella to the '/network/Stripperella/Kwap' folder on the linux box. Wierd!

The Sorceress cant be seen on any windows machine.. I can ping it et al but i can't see it. Need to work on this some more..

There such little documentation on samba.. The samba site is confusing.. took a lot of searching and struggling to figure these small bits out. Lots of help is available for older windows versions. Havent found much help for working with Win XP/2l

Links:
Quick HOWTO: Sharing Rescources with Samba
Experts Excahange Query

Oh! Update.. The Samba site does have info here.. going thru it now..

Instant Messenger

K.. Now I wanna tell some one that ive installed Linux... Time to install the IM software.

MSN Messenger obviously doesnt have a version for Linux but theres a proggy that take care of that.
amsn : Version: 0.94-0.gbv.1

Yahoo has a developed the Linux version for their IM. Installed Yahoo Messenger for RedHat 9.0 rpm from Yahoo.com

Thursday, March 17, 2005

Playing DivX Vizions

So I've installed Suse.. and its lunchtime so i want to watch my divX Xena eps.. and ack! linux wont play divX!!! I could only hear the sound.. no video.

Heres what I installed. Dunno if i installed some unnecessary stuff or if installed it the right way.. but by the end of 2 hrs of struggle I was watching Xena, Season 4 eps nice et clear!

libmp3lame0 : Version: 3.93.1-1mdk
mplayer : Version: 1.0pre6-1
libtheora : Version: 1.0alpha4-0.pm.0
speex: Version: 1.1.7-0.pm.0
w32codecs : Version: 0.90-2 (Dont think this is necessary)
w32codec : Version: 0.90-alt1 (Dont think this is necessary)
w32codec : Version: 0.52-1
libxine1 : Version: 1.0cvs-050101

Voila.. DivX files play...

Linkz of the day! - rpmfind.net & Pac-Man

Eternia: The Setup

Workgroup Name: Eternia
Router: D-Link Wifi Router (Connected to Motorola Cable Modem)

[Wired Connection]
Stripperella - Windows XP - Desktop
Sorceress - Suse 9.1 - Desktop

[Wireless Connection]
Druidess - Suse 9.1 & Windows XP - Laptop
Mini Me - Windows Mobile 2003 - Pocket PC

Machine Specs


OS: Suse 9.1

System Specs for The Sorceress:
Amd Athlon XP 2200
MSI Mboard KM2M Combo KM266 - 8235
Integrated Ethernet & Sound
IGP Video (Integrated)
2 PCI Ethernet Cards
40 GB HDD Maxtor
120 GB HDD Western Digital
Dvd Writer
CD Writer
Logitech MX700 Wireless Keyboard & Mouse



System Specs for The Druidess:
HP ZV5030CA
Processor: 2.66 Intel Pentium 4
RAM: 512 MB
HDD: 40 GB
Graphics Card: ATI MOBILITY RADEON 4X AGP and 3D architecture
Graphics RAM: 64 MB
LCD Native Resolution: 1280-by-800
Sound Card: Sound Max
Wireless Card: BroadCom 802.11g

(thats most of what i can remmber.)

Wednesday, March 16, 2005

In the begining...

In the begining there was windows on my desktop, the Sorceress.. and Suse 91.Prof and Windows XP Prof dual booted on my Laptop, the Druidess.

The Druidess is a HP zv5030ca with an internal Broadcom wifi card. Used Ndiswrapper and the wifi driver and managed to get it to see Kerberos, my wifi network but couldnt get it to go online. It would show up on the router as connected but i couldnt get on the network. I also couldnt get my SoundMax card to work... And i really wanna learn how to use linux.. so.. I decided to dual boot the Sorceres...

I installed Suse 91.Prof on the Sorceress and something went wrong with Grub and i could nolonger boot in to windows.. so ive decided to give up on windows for a bit and try and survive with linux..

This Blog is to journal my efforts and adventures in Tux Land...