linux disadvantages ubuntu 7.10

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: linux disadvantages ubuntu 7.10

Post by VladSun »

VladSun wrote:

Code: Select all

mount -t smbfs -o username=your_username,password=your_password //win_server/shared_directory /local/directory/here
* or you must use -t cifs - I don't know about Ubuntu ...
Also, being a Linux user assumes that you are not an average "Next>Next>Next>Finish-user" - Google is your friend:

http://ubuntuforums.org/showthread.php?t=288534
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

Re: linux disadvantages ubuntu 7.10

Post by hannnndy »

does not work please help

root@Mohammad:~# mount -t smbfs -o username=administrator,password=1234567890 //rama/htdocs \htdocs

i could not mount share network folder on my pc
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: linux disadvantages ubuntu 7.10

Post by Christopher »

hannnndy wrote:\htdocs
Not in Unix...
(#10850)
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

Re: linux disadvantages ubuntu 7.10

Post by hannnndy »

arborint wrote:
hannnndy wrote:\htdocs
Not in Unix...

i meant htdoc in home\mohammad

home\mohammad\htdoc

but now the error is :

Code: Select all

root@Mohammad:~# mount -t smbfs //rama/htdocs htdocs
mount: wrong fs type, bad option, bad superblock on //rama/htdocs,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

Re: linux disadvantages ubuntu 7.10

Post by hannnndy »

Code: Select all

 
dmesg
 
[ 8161.540000] smbfs: mount_data version 1919251317 is not supported
[ 8275.220000] smb_fill_super: missing data argument
[ 9691.348000] smb_fill_super: missing data argument
[ 9744.896000] smbfs: mount_data version 1919251317 is not supported
[ 9813.644000] smbfs: mount_data version 1919251317 is not supported
[ 9884.520000] smbfs: mount_data version 1919251317 is not supported
 
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: linux disadvantages ubuntu 7.10

Post by VladSun »

VladSun wrote:Also, being a Linux user assumes that you are not an average "Next>Next>Next>Finish-user" - Google is your friend:
http://www.google.com/search?q=smbfs%3A ... __206__206
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

Re: linux disadvantages ubuntu 7.10

Post by hannnndy »

solved thanks im a beginner :? and i don't know where to search thanks for help
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: linux disadvantages ubuntu 7.10

Post by Christopher »

You will become our Samba and interoperability expert around there if you keep at it! :)
(#10850)
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: linux disadvantages ubuntu 7.10

Post by VladSun »

hannnndy wrote:solved thanks im a beginner :? and i don't know where to search thanks for help
It's very good that you look at your logs - most of the beginners don't even know dmesg exists :) Every time you have difficulties with a Linux software you should start your Google search with the error messages in your logs ;)

Although I haven't noticed it, I'm very happy with your Linux experience and interaction. :!:
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

Re: linux disadvantages ubuntu 7.10

Post by hannnndy »

thank you all :) im so happy to hear that all

but my problems always is very hard to solve some times reading logs does not work because for example today i turn on my pc and just understood that my previous smbfs mount has removed and i should mount it every time :( the new problem

and after mounting that again it was xrw just for root user and i could not have graphical root user in ubuntu seven dmesg could not help in that


but i know im gonna solve that
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: linux disadvantages ubuntu 7.10

Post by VladSun »

hannnndy wrote:today i turn on my pc and just understood that my previous smbfs mount has removed and i should mount it every time :( the new problem
That's why I pointed that you have to read about /etc/fstab ;)
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

Re: linux disadvantages ubuntu 7.10

Post by hannnndy »

yesterday:
im gonna read it and tell you all the result

today:
this is yesterday's tomorrow

i have read about /etc/fstab using google and so and so

i have understood that fstab is used to auto mount the tools you want to mount each time on your computer simply adding some records in it and i did so

Code: Select all

 
 /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda3
UUID=dddf8ca4-d0af-4183-a573-0f089db73ab4 /               ext3    defaults,errors=remount-ro 0       1
# /dev/hda5
UUID=6853-D026  /media/hda5     vfat    defaults,utf8,umask=007,gid=46 0       1
# /dev/hda1
UUID=839a6197-0a19-44cd-a920-f1d662c97ecd none            swap    sw              0       0
/dev/hdd        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/hdb        /media/cdrom1   udf,iso9660 user,noauto,exec 0       0
[b]//rama/htdocs   /home/mohammad/htdocs  smbfs    username=administrator,password=1234567890,rw,dmask=777,fmask=777,auto,exec 0 0[/b]
 
 

but i do not understand how to run it
i have just restarted my linux but it does not take effect on it i mean it would not mount in specified folder
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

Re: linux disadvantages ubuntu 7.10

Post by hannnndy »

fstab dose not work i do not know and im mount it every time starting the linux


have you any idea how to compile a c++/c program in linux please give me a step by step progress
User avatar
arjan.top
Forum Contributor
Posts: 305
Joined: Sun Oct 14, 2007 4:36 am
Location: Hoče, Slovenia

Re: linux disadvantages ubuntu 7.10

Post by arjan.top »

you need gcc compiler (if using ubuntu/kubuntu/... install build-essentials or something like that)
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

Re: linux disadvantages ubuntu 7.10

Post by hannnndy »

thank you all it worked
gcc was a nice comiler

i have a problem in linux i do not undestnd linux generaly there is kernel bash shell

have you any idea what are these and any schematic diagram of it?

have you any idea of shell programming
Post Reply