nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

LiveCD question

This is a discussion on LiveCD question within the Linux software forums, part of the Linux Getting Started category; Could you setup a LiveCD to be able to log into a network through Samba when it booted up and ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 07-11-2006, 08:43 PM
Junior Member
 
Join Date: Jul 2006
Posts: 3
Rep Power: 0
jamierterrell
Default LiveCD question

Could you setup a LiveCD to be able to log into a network through Samba when it booted up and also save user data to a network share?

Like have it give you the option to login and create mapped drives etc.. and then save like desktop setting and other user data from a file server?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-11-2006, 09:08 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Quote:
Could you setup a LiveCD to be able to log into a network through Samba when it booted up and also save user data to a network share?
Yes, it is possible to use Live CD to connect to remote File server (Windows or another UNIX box using SAMBA). You can browse the share, save the file etc etc. However you may need to tweak few things here and there to work it out perfectly.
Quote:
Like have it give you the option to login and create mapped drives etc.. and then save like desktop setting and other user data from a file server?
You need to configure few scripts or settings (again depend upon your requirement and you will be able to use Live cd to save data to remove box.
Reply With Quote
  #3 (permalink)  
Old 07-11-2006, 09:27 PM
Junior Member
 
Join Date: Jul 2006
Posts: 3
Rep Power: 0
jamierterrell
Default Thanks

Any idea on where to get some instruction on doing this. I thought of it after reading this

http://www.cyberciti.biz/tips/ubuntu...sb-device.html

I know this is a totally other topic but how about having the LiveCD pull in data from host machine. Say you boot Ubuntu and it pulls in your favorites, documents, email, etc...
Reply With Quote
  #4 (permalink)  
Old 07-11-2006, 09:46 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Ok.
Can you be more specific… What I understand so far is:

You insert USB pen
You boot from Ubuntu Live CD
Now you will be able to save desktop and other stuff.
Next you want pull email or use samba.. from remote box or local box? If it is remote box then you can save the config on USB pen for mail client. Similarly you can save scripts on USB pen. Etc Do you want specific instructions how to do pull email or samba?

Also note that the guy who wrote this will read this topic sooner or later and I am sure he will reply back to you.
Reply With Quote
  #5 (permalink)  
Old 07-11-2006, 10:31 PM
Junior Member
 
Join Date: Jul 2006
Posts: 3
Rep Power: 0
jamierterrell
Default

Sorry for being confusing..

What I was saying after I read the article about saving data to the USB I was wondering if you could also save it to a network drive.

As far as user data, I would like to pull data from local PC when you boot to a LiveCD. HAve your email and favorites and documents available when you boot to the CD.
Reply With Quote
  #6 (permalink)  
Old 07-12-2006, 02:03 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Err .. some time i think toooooooooooo much.

To mount local C: or D:
Code:
sudo mkdir -p /usb/pen
sudo mount -t vfat -o iocharset=utf8,umask=000 /dev/hda1 /usb/pen
Replace /usb/pen with actual path to your USB device.

To map network drive after boot type Live CD type the command:
Code:
sudo mkdir -p /usb/pen
sudo mount -t smbfs -o username=monk,password=MyPassword //server2003/sharename /usb/pen
-o username=monk,password=MyPassword => Is remote server usename and password
//server2003/sharename => serer2003 is windows server (it can be XP box too) and sharename is a shared dir or other resource
/usb/pen => Local mount point. To access files.

You can also use smbclient command to connect directly to remote windows 2003/xp system :
Code:
smbclient -U monk //192.168.1.17/data
Where,
-U monk : Remote server username
//192.168.1.17/data: Remote server and sharename

More info:
Mount local NTFS :
http://www.cyberciti.biz/faqs/2006/0...nto-ubuntu.php
Mount remote FS i.e. map a drive:
http://www.cyberciti.biz/nixcraft/vi...-partition.php

Hope this helps. If you have more question reply back
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
phpmyadmin question paul555 Databases servers 2 07-13-2007 09:27 AM
Squid Question asterisk Linux software 2 05-17-2007 05:52 PM
C question TOP Coding in General 1 07-08-2006 01:14 AM
C question TOP Coding in General 3 03-11-2006 12:08 AM
question TOPHUMAN Shell scripting 1 02-06-2006 02:25 PM


All times are GMT +5.5. The time now is 12:48 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36