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 ?


All times are GMT +1. The time now is 19:44.

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