ubuntu single user mode with networking
30-10-2006, 21:12
|
#1
|
|
Inactive
Join Date: Oct 2006
Posts: 1,604
|
ubuntu single user mode with networking
Hi,
Does anyone know how to bring up networking in single user mode.
Typically single user mode should have networking but mine just keep saying network not found weird.
I think that when I resynced my laptop after that disastrous upgrade attempt earlier it didnt completly resync
I'll try to resync again.
|
|
|
30-10-2006, 21:35
|
#2
|
|
Inactive
Join Date: May 2005
Location: Nr Manchester
Age: 48
Posts: 1,109
|
Re: ubuntu single user mode with networking
what do you mean by single user mode?
(Welcome back... I think  )
|
|
|
30-10-2006, 21:39
|
#3
|
|
Inactive
Join Date: Oct 2006
Posts: 1,604
|
Re: ubuntu single user mode with networking
Quote:
Originally Posted by grandmaster
what do you mean by single user mode?
(Welcome back... I think  )
|
aka recovery mode....
basically executes init 0 and drops you to a shell
|
|
|
30-10-2006, 21:44
|
#4
|
|
Inactive
Join Date: May 2005
Location: Nr Manchester
Age: 48
Posts: 1,109
|
Re: ubuntu single user mode with networking
God knows then,
I'm a gui man lol

|
|
|
30-10-2006, 21:47
|
#5
|
|
cf.mega poster
Join Date: Dec 2003
Age: 50
Posts: 7,101
|
Re: ubuntu single user mode with networking
Dunno, mate... always had network up whenever I've had to do it
|
|
|
30-10-2006, 21:59
|
#6
|
|
Inactive
Join Date: Oct 2006
Posts: 1,604
|
Re: ubuntu single user mode with networking
Quote:
Originally Posted by grandmaster
God knows then,
I'm a gui man lol
 
|
Heh where would be if you went through what I just did.
I tried to upgrade dapper to edgy online whilst using the OS and it bombed out half way through.
I continued with a package rebuild and tried to continue as best as i could but it refused to do X for me....
At that point I risked doing a reboot : mistake got nothing just a blank screen
: Opened up a shell and rsynced a backup from the network : reboot and all is good except I notice the network doesnt start automatically i need to do ifdown and ifup.
Thats why I want to get into single user mode so that I can rsync the machine up properly....
ne way I'm gonna go for an upgrade via the cd now  We'll see how that goes
---------- Post added at 20:59 ---------- Previous post was at 20:50 ----------
OK I worked it out : I used an alternative ubuntu cd to boot me into the hd single user mode...
from there I just rsynced the machine and sweet everything is cool
|
|
|
30-10-2006, 23:02
|
#7
|
|
Inactive
Join Date: Jun 2003
Posts: 6,064
|
Re: ubuntu single user mode with networking
Sorry to steal your thread but seeing as you seem to have sorted your issue
Does anyone know if you can let a windows PC on your network access the drives on your Linux (Ubuntu) box while linux is running?
|
|
|
30-10-2006, 23:07
|
#8
|
|
Inactive
Join Date: Oct 2006
Posts: 1,604
|
Re: ubuntu single user mode with networking
Quote:
Originally Posted by Shaun
Sorry to steal your thread but seeing as you seem to have sorted your issue
Does anyone know if you can let a windows PC on your network access the drives on your Linux (Ubuntu) box while linux is running?
|
yeh configure the samba server : what distro are you using ?
ps I managed to upgrade to edgy guys
|
|
|
30-10-2006, 23:40
|
#9
|
|
Inactive
Join Date: Jun 2003
Posts: 6,064
|
Re: ubuntu single user mode with networking
I've installed the latest Ubuntu. 6.10 I think it is.  IS there a guide (it's my first flirt with Linux)
|
|
|
30-10-2006, 23:50
|
#10
|
|
Inactive
Join Date: Oct 2006
Posts: 1,604
|
Re: ubuntu single user mode with networking
Good luck
http://ubuntuguide.org/wiki/Ubuntu_Edgy
one good thing about linux is the wealth of documentation...
I'm searching for the easy guide that discribes how to use gnome and kde (these are your desktop environments or the gui u can see - underneath that is linux) cant find it i'm a bit tired :o
You shoudl really be able to cofigure network shares networking etc from the gui once confident with that head for the shell
|
|
|
30-10-2006, 23:50
|
#11
|
|
Inactive
Join Date: Jun 2003
Posts: 6,064
|
Re: ubuntu single user mode with networking
Found one - looks o.k until you get halfway down the page
https://help.ubuntu.com/community/SettingUpSamba
Maybe I should start a new thread asking for people to post their favorite noob guides for those of us having a bash at it (read clueless!).
Edit - Thanks for the link, will read through it.
|
|
|
31-10-2006, 00:00
|
#12
|
|
Inactive
Join Date: Oct 2006
Posts: 1,604
|
Re: ubuntu single user mode with networking
Quote:
Originally Posted by Shaun
|
Yeh thats the old fashioned way of doing it.....
I'm sure I saw a gui to set up network shares : please excuse me as I'm new to the gui side myself but have been using linux shell for over 10 years too long to remember.
search for
"gnome samba"
"kde samba"
etc etc
---------- Post added at 23:00 ---------- Previous post was at 22:54 ----------
Quote:
Originally Posted by Shaun
Maybe I should start a new thread asking for people to post their favorite noob guides for those of us having a bash at it (read clueless!). 
|
This is a top idea : There are a lot of smart guys on here who have knowledge in different areas... I'm hopeless giving newb advice as I've never used the easy route until now but I'm still learning heh.
Hopefully we make it simple and get it stickied - might even win over some windoze users too
|
|
|
31-10-2006, 00:18
|
#13
|
|
Inactive
Join Date: Jun 2003
Posts: 6,064
|
Re: ubuntu single user mode with networking
Quote:
Originally Posted by CrC-3rr0r
This is a top idea
|
Done
|
|
|
31-10-2006, 23:50
|
#14
|
|
Inactive
Join Date: Jun 2003
Posts: 6,064
|
Re: ubuntu single user mode with networking
This is why the masses can't get on with Linux. All I want to do is setup a network share so that my other PC can get at the files it needs to function on my PC.
Humph.
Code:
Samba Server
[edit]
How to install Samba Server for files/folders sharing service
* Read #General Notes
* Read #How to add extra repositories
sudo apt-get install samba smbfs
[edit]
How to add/edit/delete network users
* Read #General Notes
* Read #How to install Samba Server for files/folders sharing service
* To add network user
o Read #How to add/edit/delete system users
sudo smbpasswd -a system_username
gksudo gedit /etc/samba/smbusers
*
o Insert the following line into the new file
system_username = "network username"
*
o Save the edited file
* To edit network user
sudo smbpasswd -a system_username
* To delete network user
sudo smbpasswd -x system_username
[edit]
How to share home folders with read only permission (Authentication=Yes)
* Read #General Notes
* Read #How to install Samba Server for files/folders sharing service
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
* Find this line
...
; security = user
...
* Replace with the following lines
security = user
username map = /etc/samba/smbusers
* Save the edited file
* Read #How to add/edit/delete network users
sudo testparm
sudo /etc/init.d/samba restart
Edit - And this, I can't even install Java without a fuss! Why do they make it so difficult?
Code:
Install
# Linux self extracting binary file
# Linux RPM package
Note: The instructions below are for installing JRE 5.0. If you're installing another version, make sure you change the version number appropriately when you type the commands at the terminal.
To install the Linux (self-extracting) file
Follow these instructions:
1. At the terminal: Type:
su
2. Enter the root password.
3. Change to the directory in which you want to install. Type:
cd <directory path name>
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java/
Note about root access: To install the JRE in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install the JRE in your home directory or a subdirectory for which you have write permissions.
4. Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-1_5_0-linux-i586.bin
5. Verify that you have permission to execute the file. Type:
ls -l
Make sure the installation file has executable permission
6. Start the installation process.Type:
./jre-1_5_0-linux-i586.bin
This displays a binary license agreement. Read through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.
type YES to agree to the license agreement
7. The JRE is installed into its own directory. In this example, it is installed in the /usr/java/jre1.5.0 directory. When the installation has completed, you will see the word Done.
The installation completes
8. The JRE is installed in jre1.5.(version number) sub-directory under the current directory. In this case, the JRE is installed in the /usr/java/jre1.5.0 directory. Verify that the jre1.5.0 sub-directory is listed under the current directory. Type:
ls
Verify the installation filename
The installation is now complete. Skip to the Enable and Configure section.
|
|
|
01-11-2006, 00:38
|
#15
|
|
Inactive
Join Date: Oct 2006
Posts: 1,604
|
Re: ubuntu single user mode with networking
Shaun are you using gnome or kde ?
From KDE you can set up network shares without directly touch samba :
> system settings > sharing
In gnome I think its there is an easy way too but I just don't know :o I'm sure whilst looking around I stumbled across it ?
Any gnome experts in the house ?
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 17:01.
|