Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | ubuntu single user mode with networking

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

ubuntu single user mode with networking
Reply
 
Thread Tools
Old 30-10-2006, 21:12   #1
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
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.
The Jackal is offline   Reply With Quote
Advertisement
Old 30-10-2006, 21:35   #2
grandmaster
Inactive
 
grandmaster's Avatar
 
Join Date: May 2005
Location: Nr Manchester
Age: 48
Posts: 1,109
grandmaster has reached the bronze age
grandmaster has reached the bronze agegrandmaster has reached the bronze agegrandmaster has reached the bronze age
Re: ubuntu single user mode with networking

what do you mean by single user mode?

(Welcome back... I think )
grandmaster is offline   Reply With Quote
Old 30-10-2006, 21:39   #3
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: ubuntu single user mode with networking

Quote:
Originally Posted by grandmaster View Post
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
The Jackal is offline   Reply With Quote
Old 30-10-2006, 21:44   #4
grandmaster
Inactive
 
grandmaster's Avatar
 
Join Date: May 2005
Location: Nr Manchester
Age: 48
Posts: 1,109
grandmaster has reached the bronze age
grandmaster has reached the bronze agegrandmaster has reached the bronze agegrandmaster has reached the bronze age
Re: ubuntu single user mode with networking

God knows then,

I'm a gui man lol

grandmaster is offline   Reply With Quote
Old 30-10-2006, 21:47   #5
Gareth
cf.mega poster
 
Gareth's Avatar
 
Join Date: Dec 2003
Age: 50
Posts: 7,101
Gareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny stars
Gareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny starsGareth has a pair of shiny stars
Re: ubuntu single user mode with networking

Dunno, mate... always had network up whenever I've had to do it
Gareth is offline   Reply With Quote
Old 30-10-2006, 21:59   #6
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: ubuntu single user mode with networking

Quote:
Originally Posted by grandmaster View Post
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
The Jackal is offline   Reply With Quote
Old 30-10-2006, 23:02   #7
Shaun
Inactive
 
Join Date: Jun 2003
Posts: 6,064
Shaun has a nice shiny starShaun has a nice shiny star
Shaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny star
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?
Shaun is offline   Reply With Quote
Old 30-10-2006, 23:07   #8
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: ubuntu single user mode with networking

Quote:
Originally Posted by Shaun View Post
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
The Jackal is offline   Reply With Quote
Old 30-10-2006, 23:40   #9
Shaun
Inactive
 
Join Date: Jun 2003
Posts: 6,064
Shaun has a nice shiny starShaun has a nice shiny star
Shaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny star
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)
Shaun is offline   Reply With Quote
Old 30-10-2006, 23:50   #10
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
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
The Jackal is offline   Reply With Quote
Old 30-10-2006, 23:50   #11
Shaun
Inactive
 
Join Date: Jun 2003
Posts: 6,064
Shaun has a nice shiny starShaun has a nice shiny star
Shaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny star
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.
Shaun is offline   Reply With Quote
Old 31-10-2006, 00:00   #12
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: ubuntu single user mode with networking

Quote:
Originally Posted by Shaun View Post
Found one - looks o.k until you get halfway down the page :shock:

https://help.ubuntu.com/community/SettingUpSamba
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 View Post
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
The Jackal is offline   Reply With Quote
Old 31-10-2006, 00:18   #13
Shaun
Inactive
 
Join Date: Jun 2003
Posts: 6,064
Shaun has a nice shiny starShaun has a nice shiny star
Shaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny star
Re: ubuntu single user mode with networking

Quote:
Originally Posted by CrC-3rr0r View Post
This is a top idea
Done
Shaun is offline   Reply With Quote
Old 31-10-2006, 23:50   #14
Shaun
Inactive
 
Join Date: Jun 2003
Posts: 6,064
Shaun has a nice shiny starShaun has a nice shiny star
Shaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny starShaun has a nice shiny star
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.
Shaun is offline   Reply With Quote
Old 01-11-2006, 00:38   #15
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
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 ?
The Jackal is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT +1. The time now is 15:30.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum