LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2014, 09:16 AM   #1
Beukel
LQ Newbie
 
Registered: Jan 2014
Location: The Netherlands
Distribution: Linux Mint Mate 15
Posts: 19

Rep: Reputation: Disabled
How to configure failing network after installing dualboot WindowsXP-Linux Mint Mate


I used to have a network, enabling me to have access in Finder on my MacBook downstairs in the living to the files on my main PC's upstairs in my workspace on the attic.
After installing a dualboot systeem WindowsXP-Linux Mint Mate15 my network doesn't function anymore (or more precise: file sharing, since my network printer still functions), which necessitates me to run up and down the stairs many times.
I described the problem in the attachment with a screenprint and hope that can explain it sufficiently.

Does anyone know how to reduce this physical exercise?
Attached Files
File Type: pdf Networkproblem after switching to Linux Mint Mate15.pdf (109.6 KB, 19 views)

Last edited by Beukel; 02-07-2014 at 09:18 AM.
 
Old 02-07-2014, 09:36 AM   #2
pingwinowiewc
Member
 
Registered: Feb 2014
Location: Europe
Distribution: Debian, Mint, Arch (multiboot)
Posts: 90

Rep: Reputation: Disabled
why your router (102.168.1.1; Netgear) does not have its device name and MAC address configured? This may be cause of devices from downstairs being unable to comunicate with pcs upstairs..... check cabling and how router administers DHCP, look for any abandoned/missed packets, try to ping each other from each computer, does any error message appear?

Second thing is your not working HP printer. How its connected - usb/network/lpt? Also check if drivers are installed correctly and initialized.

HTH
 
Old 02-07-2014, 10:18 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,937

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
Since file sharing works in windows and not linux then your samba configuration needs to be modified. By default samba will use the host name of the computer as the netbios name which appears to be different between windows and linux. Make sure the workgroup is the same for all computers. Did you add a samba user/password to each PC?

Post your /etc/samba/smb.conf files.
 
Old 02-07-2014, 12:51 PM   #4
Beukel
LQ Newbie
 
Registered: Jan 2014
Location: The Netherlands
Distribution: Linux Mint Mate 15
Posts: 19

Original Poster
Rep: Reputation: Disabled
I feel stupid about this, but I can nowhere discover how and where I can find /etc/samba/smb.conf and how to get access to it in order to make a screenprint to show those files.
=> What should I type in the terminal for that?

I only made WORKGROUP in Windows, but I can't remember that I had to give passwords then.
=> How do I add a user/password to each PC (the DELL, ACER, MacBook, and also the network printer? I managed to get the network printer working again just by installing some linux drivers, but not doing anything with the network as far as I know of).

Henk
 
Old 02-07-2014, 01:46 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,937

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
You should be able to use a file browser and navigate to the /etc/samba directory. By Pressing the Go Advanced button there is an option to attach a file to your reply. I assume that samba is already installed.

Forget about passwords at the moment. Lets start over. samba is the implementation of the CIFS/SMB networking protocol used by windows for file and printer sharing. It is also used by OSX for sharing files with windows. The samba server allows other PCs to see its files and the smb.conf file is its configuration file. In order to see your media and data from linux you will need to create shares.

You can use the system-config-samba tool to setup shares and users. To install it:
sudo apt-get install system-config-samba
 
Old 02-07-2014, 05:19 PM   #6
Beukel
LQ Newbie
 
Registered: Jan 2014
Location: The Netherlands
Distribution: Linux Mint Mate 15
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks Michael. Attached the /etc/samba/smb.conf file.
Attached Files
File Type: txt etc-samba-smb.conf.txt (12.5 KB, 12 views)
 
Old 02-07-2014, 05:30 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,937

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
There are no file shares active in your smb.conf file. I suggest installing the system-config-samba utility to configure shares and users.
 
Old 02-09-2014, 04:58 AM   #8
Beukel
LQ Newbie
 
Registered: Jan 2014
Location: The Netherlands
Distribution: Linux Mint Mate 15
Posts: 19

Original Poster
Rep: Reputation: Disabled
Now my linux system broke down on both PC's

I thought I saw light at the end of the tunnel Michael, but now my linux system broke down.

I installed samba and started file sharing by right-clicking certain folders. Then the /home/henk foder showed up in Finder on my MacBook with full access to the files in it, but with the /New Volume/My Documents and /New Volume/My Pictures folders it was different. They were shown in Finder, but could not be opened "because the original part could not be found". That has probably to do with the fact that they are located in partitions on a 2nd disk, while the /home/henk map is on the C: disk.

I then started to do this same thing on my Acer PC, and had also to install samba first for that.
In that operation I had to update several files in synaptic, and when I also had to mark Firefox for updating it kept running and running, which I ended after a while by clicking <forced stop> instead of <waiting>.

Then I got the messages as in the attachment, and my system on the Acer broke down. It is still possible to boot in WindowsXP.

Then as a next surprise I wanted to log in on my main PC DELL, but my user password was refused and I ended up in the same situation of not being able anymore to boot in linux with the same error messages, and still only in WindowsXP.

Could this have been caused by the synaptic updates? Or a virus? Or is it something with the username and password?
Is the conclusion now that I need to make a new fresh dualboot install or do I have to surrender this challenge of again trying to install linux as successor of WindowsXP after 2 previous trials in the past years?
I become rather desperate now.
Attached Files
File Type: pdf Linux System breakdom.pdf (30.7 KB, 17 views)
 
Old 02-09-2014, 09:12 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,281

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
The message in the image of your last post indicates an inability to connect to the "virtualbox kernel service' yet you make no mention in your posts about using VirtualBox. If you have installed Mint in VirtualBox in windows that is one problem and the full disk would mean the size of the disk you created in VirtualBox not the size of the hard drive on which you have xp.

You might explain in more detail whether you are using VirtualBox or whether you have Mint on a separate partition. If you don't have virtualbox or aren't using it, I have no idea why you would get a message like that.
 
Old 02-09-2014, 11:43 AM   #10
Beukel
LQ Newbie
 
Registered: Jan 2014
Location: The Netherlands
Distribution: Linux Mint Mate 15
Posts: 19

Original Poster
Rep: Reputation: Disabled
I have just installed a dualboot WindowsXP-Linux Mint Mate15 with Linux in a repartitioned separate partition on the C: disk and all my data and pictures on a 2nd disk of 1 TB in 2 partitions.
The C: disk still has about 7% free space, and for the Linux installation was sufficient space, while all data, incl mail are saved in the partitions of the added harddisk. So I suppose it is not a matter of insufficient space.

If VirtualBox is not standard in the dualboot installation I have not installed VirtualBox separately or it must have been unknowingly by loading conflicting packages in de synaptic additions for samba to solve my network problem and the marking for updating some files incl Firefox after which I had to make a "forced stop".

I read in some thread about a similar error message that it might have been caused by the logout, and that the login might try to select the "last session" instead of my MATE session, which might be solved by adding another user. But how to do that when not ble to login?
Or another solution by 'purging all packages that had "virtualbox" in the name AND by explicitly selecting MATE as the login session instead of the "last session"'.
=> Is there a way to do that when I am unable to login? Maybe in another boot mode than ususal (recovery or test?) or could I get access to those partitions in some way?

Someone else mentioned 'to remove the folders needed to reset Ubuntu/Gnome back to its defaults by hitting CTRL + ALT + F1 to "a terminal" (where to find such terminal?), login to the account, and run "rm -rf .gnome .gnome2 .gconf .gconfd .metacity"' whatever that may be.
And after that 'going back to the GUI desktop by hitting CTRL + ALT + F7'.
But I don't know if that would work in my situation where I am not able to login.

Or would a final solution be to reinstall the dualboot (just over writing the old one?) or is it possible to get access to the system by booting from an external CD and not losing data and mail?

Or give up and reluctantly choose for Windows or Apple?
 
Old 02-09-2014, 12:17 PM   #11
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Sounds like a big mess with files stored in C and Samba looking to share files in /home. on top of that VirtualBox???

If you want to share files through Samba you will need to stored the files under the shared directory. You can stored files under a different directory but make sure you mount that directory under the shared samba directory.
You could create a link between these two directories to achieve that.

To upgrade your system is better doing it throught the command line by typing
Code:
sudo apt-get update
then
Code:
sudo apt-get upgrade
make sure you leave the computer alon while upgrading so dont uplug or turn it off while is doing its thing.
re-installing is alway a solution, but not always needed.

Good luck to you
 
Old 02-10-2014, 09:34 AM   #12
Beukel
LQ Newbie
 
Registered: Jan 2014
Location: The Netherlands
Distribution: Linux Mint Mate 15
Posts: 19

Original Poster
Rep: Reputation: Disabled
The only way I now managed to open a terminal was by booting in Recovery mode, and then Root prompt. I am not sure whether that is the only/best way to open a terminal.

1. After typing "sudo apt-get update" I get a number of lines flying over my screen. On the last screen I get as the last ones (which I translate from Dutch):

W: getting http://archive.ubuntu.com/dists/.....<several files>... There happens something strange when solving of <file> (-11 System error)

W: getting http://packages.linuxmint.com/dists/.....<several files>... There happens something strange when solving of <file> (-11 System error)

E: Some index files failed to download. They have been ignored, or old ones used instead

W: No locking is used for the only-read-locking file /var/lib/dpkg/lock

And after typing "sudo apt-get upgrade" I get:

W: No locking is used for the only-read-locking file /var/lib/dpkg/lock

E: Unable to write to /var/cache/apt/

E: The packet lists of the status file could not be analysed, or not be opened

So, this didn't bring a solution.

2. I now made a bootable USB hoping to boot linux and then being able to delete the virtualbox named files, that apparently conflict.

I don't know, however, how to boot from that USB since my PC doesn't respond to clicking F2 for opening my BIOS to change the bootorder for the USB since after the dualboot install Grub only gives me 5 choices: 1) Linux Mint Mate, 2) Linux Mint Recovery mode, 3) and 4) something with MEM Test, and 5) WinowsXP.

=> Is there a way to interrupt either the Windows or Linux booting routine to open the BIOS and change the bootorder to prioritise my Kingston USB?

=> If this wouldn't be possible, could I then after booting in WindowsXP install a new dualboot? And will that just overwrite the old files or can I clean the old content in those partitions in some way (especially when I now would install Linux Mint Mate16 with different files instead of Linux Mint Mate15?
 
Old 02-16-2014, 03:34 AM   #13
Beukel
LQ Newbie
 
Registered: Jan 2014
Location: The Netherlands
Distribution: Linux Mint Mate 15
Posts: 19

Original Poster
Rep: Reputation: Disabled
Meanwhile I solved the problem of not being able to reboot again. I learned that there was no problem with my Operating System but with Xsession and logging in in the graphical shell. That was solved by explicitly loggin in in MATE.
So, not needed anymore to consider a reinstall.

Now continuing with my problem of reconfiguring my network in Linux:
In the attachment I show an explanation that I found on the internet and I described my actions according to that advice.
I now made the shares [henk], [DATA], and [MEDIA] in /etc/samba/smb.conf but still without result.

I also attach the current version of /etc/samba/smb.conf

But still no restored network with the content of the shared folders DATA and MEDIA visible and accessible in Finder on my MacBook (even so after deleting the ";" signs)

=> Any idea which final steps might be needed to restore my network and have access to the shared files?
Attached Files
File Type: pdf Samba-CIFS shares in ubuntu-eng.pdf (178.7 KB, 13 views)
File Type: txt etc-samba-smb.conf-13.2.14.txt (13.0 KB, 8 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Things to do after installing Linux Mint 15 MATE LXer Syndicated Linux News 0 07-04-2013 10:20 AM
Linux MINT 14 w/ MATE, installing to a USB (diary) clausawits Linux Mint 1 02-05-2013 03:00 PM
[SOLVED] Installing Mate 1.2 in Linux Mint 12 Lisa dsschanze Linux Mint 0 06-20-2012 06:45 AM
LXer: 10 things to do after installing Linux Mint 13 ( MATE edition) LXer Syndicated Linux News 1 06-13-2012 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration