#*** Updated 13SEP2007 ***
//192.168.2.176/Disk-1 /mnt/Storage smbfs password=,fmask=770,dmask=770,gid=admin 0 0
I added the fmask and dmask (fmask for files, dmask for directories) to specify read/write permissions for the files and directories on the server share (only for owner and group, not guest). Also I specified a group id (gid) as admin which combined with the fmask/dmask gives any user in the admin group (as well as root, of course) read/write permissions to the server share. Damn that took a long time to figure out!
#End of update
Right when I thought I had tried everything I did something very simple to fix my enormously annoying boot-time fiasco. I had edited my /etc/fstab and put the following entry:
//192.168.15.5/Disk-1 /home/andrew/Storage cifs auto,password=,user,rw 0 0
Now according to everyone on the internet that I was able to find - this command in /etc/fstab should make my server share mount locally at boot. NOT. I couldn't figure out what the hell was wrong. It's been driving me nuts for weeks and I've tried everything everyone suggested.
Oh, let me also mention I knew my fstab entry was correct because whenever I ran sudo mount -a after boot-time it mounted just fine.
So then from what I read I came to the conclusion that my OpenSUSE machine was not connecting the my home network at boot - why could this be? Then I noticed that when it did boot into KDE it took a second to use the DHCP server to get an IP. So then I had this genius idea: give it a static IP address.
SO I DID!!! AND IT FIXED THE BLOODY PROBLEM!!!
Make sure if you're doing this to fix your problem you also set the default gateway or else you'll get no network connectivity. Phwew!!! Finally the battle is over!
Sunday, April 1, 2007
Thursday, March 29, 2007
Synergy - Virtual KVM
I was trying out a little thing I found on suseblog.... and this thing is really sweet. It's a virtual/software KVM (Keyboard, Video, Mouse) share package. Basically it connects all your monitors together so you can use one mouse & keyboard for them all! It rocks! I installed the server portion on my XP machine and it was very self-explanatory, but the client setup on ubuntu is a little tricky if you want it to start at boot-time. Here are the instructions I followed to success from the wonderful people on the Ubuntu Community Forum. Enjoy!
These instructions should work for running the synergy client on your UBUNTU machine to connect to a locally networked computer running the synergy server. (I've not actually tried them myself.)
Let us know how you get on.
NOTE:
The will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string )
To make the client run when gdm runs, but before anyone has logged in:
edit /etc/gdm/Init/Default:
Added the following lines in the middle of the file BEFORE the "sysmodmap=/etc/X11/Xmodmap" line:
The only problem with that is once you log in it kills off the client, so you need to make it start again for you.
edited /etc/gdm/Init/Default:
Added the following lines in the middle of the file BEFORE the "XSETROOT=`gdmwhich xsetroot`" line:
Log out and back in again.
The synergy client should now startup and run whenever your gdm session does.
NOTE:
The will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string )
Then follow up with:
Re: synergy / boot up
Hahaaa
You found it !
The file "/etc/X11/gdm/Init/Default" did not have execute permissions.
I wonder if it is a bug or not, because "/etc/X11/gdm/PreSession/Default" has execute permissions. (It is a fresh install so I did not modify anything yet, except running automatrix).
Anyway for the persons who still have the same problem, just do
and it should be ok.
Thanks again Insti !
First Cup of Ubuntu | Join Date: Apr 2006 Beans: 4 Ubuntu Breezy 5.10 User |
Starting the Synergy CLIENT on boot up.
Quote:
Originally Posted by nwgray Admitted serious Linux noob here. What syntax would I use if I wanted to start the client and not the server (synergyc)? I run an XP and Ubuntu box side by side and it is working great. I just need synergyc to start automatically. |
Let us know how you get on.
NOTE:
The will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string )
To make the client run when gdm runs, but before anyone has logged in:
edit /etc/gdm/Init/Default:
Code:
sudo gedit /etc/gdm/Init/Default
Code:
SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC
fi
edited /etc/gdm/Init/Default:
Code:
sudo gedit /etc/gdm/PreSession/Default
Code:
SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC
fi
The synergy client should now startup and run whenever your gdm session does.
NOTE:
The will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string )
Then follow up with:
5 Cups of Ubuntu | Join Date: Mar 2006 Beans: 30 |
Hahaaa
You found it !
The file "/etc/X11/gdm/Init/Default" did not have execute permissions.
I wonder if it is a bug or not, because "/etc/X11/gdm/PreSession/Default" has execute permissions. (It is a fresh install so I did not modify anything yet, except running automatrix).
Anyway for the persons who still have the same problem, just do
Code:
sudo chmod +x /etc/X11/gdm/Init/Default
Thanks again Insti !
Monday, March 26, 2007
Correction...
On my last post I mentioned how quote "Linux working = No money for MS". Due to recent news I should now post a correction.
Because the machine I was posting about is using OpenSUSE (by Novell) and Novell was just bought out by Microsoft then my logic no longer stands.
Let's now go with: Non-Novell Distro's of Linux working = No money for MS.
Thanks to Eric for his copy of The Wall Street Journal's article publicizing the whole event.
Did I mention I was only like 4 or 5 months late on this story?
Because the machine I was posting about is using OpenSUSE (by Novell) and Novell was just bought out by Microsoft then my logic no longer stands.
Let's now go with: Non-Novell Distro's of Linux working = No money for MS.
Thanks to Eric for his copy of The Wall Street Journal's article publicizing the whole event.
Did I mention I was only like 4 or 5 months late on this story?
Thursday, March 22, 2007
WTF.
Seriously, WTF?
I decided to try using ndiswrapper to get my wireless working on my openSUSE 10.2 machine. Pain in the ...
It works, but for some god-forsaken reason it thinks the wireless card is an ethernet card and shows it as eth1 vs. wlan0.
To install the driver and use ndiswrapper I followed this gents page. Very nice page, excellent info, but it doesn't say one thing about having to reboot your computer to have it recognize your wireless card (which of course is true in my case). You should be able to just modprobe ndiswrapper as far as I understand. WTF. Then I followed some other helpful fellow's instructions on using bcm43xx-fwcutter in order to get my Broadcom wireless card to show up as wlan0 -- no dice. I even blacklisted bcm43xx in /etc/modprobe.d/blacklist (I think that's it) as another gent had mentioned still to no avail!
OpenSUSE vs. Broadcom -- Broadcom wins. OpenSUSE got in some excellent blows by being able to actually connect to the net, but Broadcom dominated the battle by never submitting to wlan0. Hope you didn't have money riding on that fight.
Whatever...
I'm so tired of screwing with it that as long as I have wireless I don't care. As far as I'm concerned I win.
The transitive property: a=b=c so a=c. My version:
Linux working = Not using MS Windows which = MS doesn't get my Money
so...
Linux working = No money for MS
Hooray for Linux. Job well done.
I decided to try using ndiswrapper to get my wireless working on my openSUSE 10.2 machine. Pain in the ...
It works, but for some god-forsaken reason it thinks the wireless card is an ethernet card and shows it as eth1 vs. wlan0.
To install the driver and use ndiswrapper I followed this gents page. Very nice page, excellent info, but it doesn't say one thing about having to reboot your computer to have it recognize your wireless card (which of course is true in my case). You should be able to just modprobe ndiswrapper as far as I understand. WTF. Then I followed some other helpful fellow's instructions on using bcm43xx-fwcutter in order to get my Broadcom wireless card to show up as wlan0 -- no dice. I even blacklisted bcm43xx in /etc/modprobe.d/blacklist (I think that's it) as another gent had mentioned still to no avail!
OpenSUSE vs. Broadcom -- Broadcom wins. OpenSUSE got in some excellent blows by being able to actually connect to the net, but Broadcom dominated the battle by never submitting to wlan0. Hope you didn't have money riding on that fight.
Whatever...
I'm so tired of screwing with it that as long as I have wireless I don't care. As far as I'm concerned I win.
The transitive property: a=b=c so a=c. My version:
Linux working = Not using MS Windows which = MS doesn't get my Money
so...
Linux working = No money for MS
Hooray for Linux. Job well done.
Wednesday, March 21, 2007
The Beginning
What a horrible beginning. I just wrote a novel and as I was editing - more specifically deleting a jpeg off the post - as all of it was destroyed. Oh cruel world.
Subscribe to:
Posts (Atom)