No pc seen on lan

Asked by Sirussss

Hello Frnds,

I am completely a noob for Ubuntu 8.10 ( First time using this software)
My problem i cannot see any PC on the windows network?
My internet connection is working fine.
My network setup : one switch connecting other 4 PC running windows.
and my PC ( Dual boot running ubuntu 8.10 and win XP.)
I tried solving this problem reading other questions but went round and round in circles and got more confused.
My understanding when I input IP , GATEWAY , SUBNETMASK,
AND DNS SERVER in Windows I AM CONNECTED TO LAN.
many thing r confusing they say to input domain and other details in system > administration > network
its not present only networking tools is persent. where i can ping, netstatus etc
only way i can input the above settings is right clicking the TV icon on top right hand corner and then manually configuring IPv4 settings....
pls help if u could provide step by step ans. ur help much appreciated in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
Hemanth
Solved:
Last query:
Last reply:
Revision history for this message
Hemanth (hemanth-hm) said :
#1
Revision history for this message
Sirussss (rohan-tamhane) said :
#2

Hello frnds

I tried the above link made the necessary changes.
but still not able to see any windows PC on the network.
I am not able to change the manual IP configuration in UBUNTU 8.10
I am able to PING FROM windows PC n get a reply also my computer seen on network it requires username and password to access it. dont know cos i have not added any password for my files???
pls help !!!

Revision history for this message
Hemanth (hemanth-hm) said :
#3

Manual IP config steps :

sudo gedit /etc/network/interfaces { this will open a file}

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.3.90
gateway 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255

After entering all the details you need to restart networking services using the following command

sudo /etc/init.d/networking restart

{Add the required ip}

Then do this :

sudo apt-get install samba

and then I edited the smb.conf

sudo gedit /etc/samba/smb.conf

and added following configuration

[global]
workgroup = WORKGROUP
security = share

[appz]
comment = Appz
path = /home/appz
read only = Yes
guest ok = Yes

[exchange]
comment = Exchange
path = /home/exchange
read only = No
guest ok = Yes

sudo /etc/init.d/samba restart

Revision history for this message
Sirussss (rohan-tamhane) said :
#4

Well I really appreciate your help
but now my network is disabled after i gave the following command

sudo gedit /etc/network/interfaces { this will open a file}
and pasted the following in interfaces file
# The primary network interface
auto eth0
iface eth0 inet static (i input my settings below)
address 192.168.1.90
gateway 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0 (this is DNS server add rit? )
broadcast 192.168.3.255

earlier it was saying some thing as auto LO

can u pls explain me wat is loopback interface n with my eth0 seen in network tools
n how do i enable my networking do i have to reinstall UBUNTU 8.10?

Revision history for this message
Hemanth (hemanth-hm) said :
#5

U need not reinstall :)
First of all are you on DHCP , or a static line ??

The term loopback (sometimes spelled loop-back) is generally used to describe methods or procedures of routing electronic signals, digital data streams, or other flows of items, from their originating facility quickly back to the same source entity without intentional processing or modification. This is primarily intended as a means of testing the transmission or transportation infrastructure.

The most commonly used IP address on the loopback device is 127.0.0.1 for IPv4

http://127.0.0.1/ or http://localhost/

Loop backs to your own pc :)

Revision history for this message
Sirussss (rohan-tamhane) said :
#6

Many Thanks for your prompt reply

My setup is pretty basic 5 computers one switch.now i want to enable lan(share computers) in this, thats it.
Without changing anything i can connect to INTERNET in ubuntu but shared computers is not shown.?

There is no server.We manually input the IP in windows:- IP , GATEWAY , SUBNETMASK,
AND DNS SERVER in Windows I AM CONNECTED TO LAN.and internet.

I understand that i need to do the same in ubuntu 8.10.
I have installed ubuntu inside widows...

If there is any command which will uninstall the network manager and then reinstall it i can start with the above process. also how do i make my ether net card default to take the IP ADD. and other settings
in stead of Loop-back settings....

Revision history for this message
Sirussss (rohan-tamhane) said :
#7

Ok done some changes Removed the network manager set a static IP to my computer.
used below link
http://ubuntuforums.org/showthread.php?t=974382

now net working fine but still lan not showing the Windows PC's
Have already made the changes to my samba files as u mentioned
sudo apt-get install samba

and then I edited the smb.conf

sudo gedit /etc/samba/smb.conf

and added following configuration

[global]
workgroup = WORKGROUP
security = share

[appz]
comment = Appz
path = /home/appz
read only = Yes
guest ok = Yes

[exchange]
comment = Exchange
path = /home/exchange
read only = No
guest ok = Yes

sudo /etc/init.d/samba restart

but no network

REALLY SORRY FOR BEING SUCH A PAIN....:(

Revision history for this message
Best Hemanth (hemanth-hm) said :
#8

Don be :( , not is messed up , start it afresh , follow these easy steps u ll be done for this time sure
 check Samba https://help.ubuntu.com/community/SettingUpSamba
and then read https://help.ubuntu.com/community/WindowsXPPrinter for the use of the Printer.

Sirussss , you can and you will do it easily

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#9

This question it is now associated to "samba" package.

As additional tips, you can click on this launchpad page tabs:

- the "Answers" tab will allow you to see all already answered questions related to this package;
- the "Bugs" will allow you to see the known bugs related to this package.

This might helps you to solve your issue, by the way is a good starting point.

Revision history for this message
Sirussss (rohan-tamhane) said :
#10

Hey frnds many things sorted out got to learn many thing in the process. I know i am really close to solving my problem.But need ur help thanks for getting me this far.

The thing is I can ping my PC(i.e. ubuntu 8.10) frm windows pc. Can see my PC in Network neighbourhood on other Windows pc's on my network, can see the files also. But it requires a username and password to access these files.

My guess i need to modify my smb.conf file so that i can add username and password settings for shared files. and also give network settings etc....

Still confused about why cant i ping windows PC on the network from my Ubuntu 8.10 PC any solution. If i can ping them then i will get them in my network.

pls help frnds really need it.

Revision history for this message
Sirussss (rohan-tamhane) said :
#11

Hello frnds

sorry for troubling u again and again
suddenly i can see my Network PC's all of them....
but few PC i cannot see the share folders....
can anybody explain me...why this is happening n wat changes i need to make in my Windows PC or Ubuntu PC also can u give me the code where the sharing access to my Ubuntu shared files is with out any error or passwords

Thanks for all ur support

Revision history for this message
Sirussss (rohan-tamhane) said :
#12

Thanks Hemanth, that solved my question.

Revision history for this message
Hemanth (hemanth-hm) said :
#13

My pleasure Siruss , enjoy ubuntu