Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   ubuntu single user mode with networking (https://www.cableforum.uk/board/showthread.php?t=33602864)

The Jackal 30-10-2006 21:12

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.

grandmaster 30-10-2006 21:35

Re: ubuntu single user mode with networking
 
what do you mean by single user mode?

(Welcome back... I think :D)

The Jackal 30-10-2006 21:39

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by grandmaster (Post 34147529)
what do you mean by single user mode?

(Welcome back... I think :D)

aka recovery mode....

basically executes init 0 and drops you to a shell

grandmaster 30-10-2006 21:44

Re: ubuntu single user mode with networking
 
God knows then,

I'm a gui man lol

:D:D

Gareth 30-10-2006 21:47

Re: ubuntu single user mode with networking
 
Dunno, mate... always had network up whenever I've had to do it :shrug:

The Jackal 30-10-2006 21:59

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by grandmaster (Post 34147537)
God knows then,

I'm a gui man lol

:D:D

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

Shaun 30-10-2006 23:02

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?

The Jackal 30-10-2006 23:07

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by Shaun (Post 34147601)
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

Shaun 30-10-2006 23:40

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) :)

The Jackal 30-10-2006 23:50

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

Shaun 30-10-2006 23:50

Re: ubuntu single user mode with networking
 
Found one - looks o.k until you get halfway down the page :spin:

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!). :shrug:

Edit - Thanks for the link, will read through it. :)

The Jackal 31-10-2006 00:00

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by Shaun (Post 34147633)
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 (Post 34147633)
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!). :shrug:

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

Shaun 31-10-2006 00:18

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by CrC-3rr0r (Post 34147638)
This is a top idea

Done :)

Shaun 31-10-2006 23:50

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. :disturbd:

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.


The Jackal 01-11-2006 00:38

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 ?

Shaun 01-11-2006 00:45

Re: ubuntu single user mode with networking
 
Gnome as that's what comes with Ubuntu. I could install the Kubuntu upgrade but I'm guessing that'll be a drama in itself.

And I was thinking it'd be easy to get my head around it once I had time to play. :erm: :(

The Jackal 01-11-2006 01:01

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by Shaun (Post 34148388)
Gnome as that's what comes with Ubuntu. I could install the Kubuntu upgrade but I'm guessing that'll be a drama in itself.

And I was thinking it'd be easy to get my head around it once I had time to play. :erm: :(

Not really I think KDE is more suited for the newb.... ps dont forget to uncomment some of the sources from /etc/apt/sources.list : fire you adept or synaptic do a refresh and presto 19-20,000 packages wil become available to you search in there for gnome or kde and you'll find a lot of helper apps to help you configure and customize your install.

Give the live cd a whirl if you dont like go back to gnome for me personally I didnt like gnome.

Shaun 01-11-2006 01:02

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by CrC-3rr0r (Post 34148404)
Not really I think KDE is more suited for the newb....

See I get you to here.

Quote:

ps dont forget to uncomment some of the sources from /etc/apt/sources.list : fire you adept or synaptic do a refresh and presto 19-20,000 packages wil become available to you search in there for gnome or kde and you'll find a lot of helper apps to help you configure and customize your install.
But then the rest is just noise.....:disturbd:

Sorry :)

Gareth 01-11-2006 01:07

Re: ubuntu single user mode with networking
 
You won't need to install Kubuntu, you can just install the KDE software on top of your current Ubuntu installation.

There'll be a HowTo over at the ubuntuforums website.

Also, as I just dropped in to Gnome to check this, you have a Shared Drives tool available in Gnome... just click Computer -> Control Center -> Shared Folders :)

Right, time to go back to KDE

The Jackal 01-11-2006 01:09

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by Gareth (Post 34148410)
You won't need to install Kubuntu, you can just install the KDE software on top of your current Ubuntu installation.

There'll be a HowTo over at the ubuntuforums website.

Also, as I just dropped in to Gnome to check this, you have a Shared Drives tool available in Gnome... just click Computer -> Control Center -> Shared Folders :)

Right, time to go back to KDE

Nice 1 Gareth - top bloke

homealone 01-11-2006 01:12

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by CrC-3rr0r (Post 34148413)
Nice 1 Gareth - top bloke

true - whether you are into unix, or not ;)

Gareth 01-11-2006 01:17

Re: ubuntu single user mode with networking
 
Also, I can't believe I forgot to mention this before :doh:

Ubuntu users can use a fantastic tool called Automatix...

Quote:

Originally Posted by getautomatix.com
Automatix is a graphical interface for automating the installation of the most commonly requested applications in Debian based linux operating systems.

Check it out, Shaun... I think you'll find you like it :)

---------- Post added at 00:17 ---------- Previous post was at 00:15 ----------

Homealone & CrC... thanks, I think you guys rock too.

Group hug, anyone?

The Jackal 01-11-2006 01:39

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by Gareth (Post 34148420)
Ubuntu users can use a fantastic tool called Automatix...

Anything thats got matrix in its name has gotta be good I'm gonna give that a whirl right now :)

--- edit I cant reed or rit can eye automatix its automatix : anyway found wmmatrix in adept so not all is lost

:hugs: all round

---------- Post added at 00:39 ---------- Previous post was at 00:21 ----------

wow 2 automatix not sure how much of my system its gonna break but it's way cool I got all the codecs I need :

Top post again Gareth :tu:

homealone 01-11-2006 01:40

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by CrC-3rr0r (Post 34148422)
Anything thats got matrix in its name has gotta be good I'm gonna give that a whirl right now :)

--- edit I cant reed or rit can eye automatix its automatix : anyway found wmmatrix in adept so not all is lost

:hugs: all round

---------- Post added at 00:39 ---------- Previous post was at 00:21 ----------

wow 2 automatix not sure how much of my system its gonna break but it's way cool I got all the codecs I need :

Top post again Gareth :tu:

so none of that crepe about leaving our little community, then ;)

The Jackal 01-11-2006 01:44

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by homealone (Post 34148432)
so none of that crepe about leaving our little community, then ;)

I'm addicted to this cr** (check the top posters !) It was a last resort ditch attempt to escape . Nah this place is cool a lot of nice ppl on (maybe too nice @times).

I just got to control myself and not post too much cr&p :)

homealone 01-11-2006 01:54

Re: ubuntu single user mode with networking
 
Quote:

Originally Posted by CrC-3rr0r (Post 34148437)
I'm addicted to this cr** (check the top posters !) It was a last resort ditch attempt to escape . Nah this place is cool a lot of nice ppl on (maybe too nice @times).

I just got to control myself and not post too much cr&p :)

me too :cool:

The Jackal 01-11-2006 01:58

Re: ubuntu single user mode with networking
 
Someone give Gareth a Gold Star

flippin heck one click with automatix and i got all the codecs i need plus xmms plus streamripper awesome.

I regret not having converting to linux desktop earlier now :o

Everything runs smoother faster with less memory than windoze....

Theres only one thing left to make my life complete : synce kde-sync with my pda... it didnt go too well when I last tried :o


All times are GMT +1. The time now is 16:55.

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