Discussion:
How to configure IP,Gteway, DNS on OpenSuse 10.2
Yudi Purwanto
2008-10-16 03:20:28 UTC
Permalink
Hello all Linux Experts....

I'm new in linux. Currently i'm using Open Suse 10.2 (i586). I get
some problem on how to connect my WinXP to my OpenSuse. I dont
understand on how to configure the network susc as IP address,
gateway, and DNS on Linux. I have tried to ping IP address of my Win
XP from Linux ---> it's work well
But, when i try to ping Linux IP from My WinXP --> it's report that
destination unreacable.

if i success in connecting OpenSuse and myWinXP, i plan to attached
MySQL database server on MyOpenSuse. I plan to use OpenSuse as my
small server. Currently i'm still developing small client application
using VB and MySQL to handle inventory system.

Thank before

Yudi Purwanto
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
David C. Rankin
2008-10-16 03:41:46 UTC
Permalink
Post by Yudi Purwanto
Hello all Linux Experts....
I'm new in linux. Currently i'm using Open Suse 10.2 (i586). I get
some problem on how to connect my WinXP to my OpenSuse. I dont
understand on how to configure the network susc as IP address,
gateway, and DNS on Linux. I have tried to ping IP address of my Win
XP from Linux ---> it's work well
But, when i try to ping Linux IP from My WinXP --> it's report that
destination unreacable.
if i success in connecting OpenSuse and myWinXP, i plan to attached
MySQL database server on MyOpenSuse. I plan to use OpenSuse as my
small server. Currently i'm still developing small client application
using VB and MySQL to handle inventory system.
Thank before
Yudi Purwanto
Yudi,

First use Yast to configure the network card on your openSuSE machine to set a
fixed IP address and to set the hostname, domainname and gateway (default route).

If you only have the two machines, then the easiest way to get your XP box to
find your linux box is to create the file 'LMHOSTS' in
%SystemRoot%\System32\Drivers\Etc on the XP machine with the simple entry of
the IP of your linux box and its hostname. For example, if your linux box has
the IP address of 192.168.0.2 and its name is "linuxbox" your LMHOSTS file
would be:

192.168.0.2 linuxbox


That will solve the name resolution issues from XP and allow you to ping your
linux box.

additional reading:

http://www.computerhope.com/jargon/l/lmhost.htm
http://support.microsoft.com/kb/314108
http://www.itap.purdue.edu/email/exchange/qex_speed_lmhosts_winnt.cfm

If you want to set your openSuSE box up right as a real server, configure and
secure MySQL, etc, see:

http://www.3111skyline.com/download/linux/howto/openSuSE_Server-Setup
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Satoru Matsumoto
2008-10-16 04:18:30 UTC
Permalink
Hi Yudi,
Post by Yudi Purwanto
I dont
understand on how to configure the network susc as IP address,
gateway, and DNS on Linux.
YaST is the tool for you!

You can find configuration menu for network settings in: YaST -> Network
device -> Network Card. But...
Post by Yudi Purwanto
I have tried to ping IP address of my Win
XP from Linux ---> it's work well
when i try to ping Linux IP from My WinXP --> it's report that
destination unreacable.
Do you mean Linux box can find Windows box and Windows box can't find
Linux box? If so, the problem could be not only due to the network
setting of Linux box, but also due to some other settings including
those of Windows box and network devices between them. You'd better
report the network settings of both Linux and Windows box.

And one more thing, if you plan to use openSUSE 10.2 for your server, do
you know that openSUSE 10.2 will be discontinued soon?
http://lists.opensuse.org/opensuse-announce/2008-10/msg00000.html
I recommend you to upgrade or reinstall to openSUSE 11.0 or at least to
10.3. ;-)

Bests,
--
_/_/_/ To be Happy! _/_/_/
_/_/ Satoru Matsumoto _/_/
_/ ***@gmx.net _/
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Satoru Matsumoto
2008-10-16 05:27:13 UTC
Permalink
Hi Yudi,

You have replied only to me. You should 'Reply to all' next time. ;-)
Currently My office using small workgroup and no DNS/DHCP server. I
have set the IP address/Subnet mask/host name of my OpenSuse. The
above problem has been solved. But how to set Gateway and DNS on
OpenSuse. I didn't find it on YAST. Currently my WinXP uses the
Gateway : 192.168.1.1
DNS : 203.130.193.xxx (this address i got from our local ISP)
how can i set above value in OpenSuse? Or do i need another tool like
Samba?
This is only for testing. if i pass this step, your suggestion for
upgrading will be considered. I'm sorry, my knowledge about network,
even in windows still inadequate.
Thanks before
Can you launch YaST2? I attache some screenshots to this mail and you
can follow these steps. (These are the screenshots on KDE desktop of my
openSUSE 10.3 laptop, though...)

1) launch YaST2 and select 'Network Devices' -> 'Network Card'.
- 001.jpg

2a) To set IP address, open 'Overview' tab and click 'Configure'.
- 002.jpg
Then open 'Address' tab and you can set IP address here.
- 003.jpg

2b) To set DNS, open 'Hostname/DNS' tab and fill your DNS server's
address in the 'Name Server 1' box.
- 004.jpg

2c) To set gateway address, open 'Routing' tab and fill your gateway
address in the 'Default Gateway' box.
- 005.jpg

Bests,
--
_/_/_/ To be Happy! _/_/_/
_/_/ Satoru Matsumoto _/_/
_/ ***@gmx.net _/
Kai Ponte
2008-10-16 15:01:59 UTC
Permalink
Post by Yudi Purwanto
if i success in connecting OpenSuse and myWinXP, i plan to attached
MySQL database server on MyOpenSuse. I plan to use OpenSuse as my
small server. Currently i'm still developing small client application
using VB and MySQL to handle inventory system.
Yudi:

By "using VB and MySQL" are you developing in VB6 or VB.net?

Are you just going to use openSUSE for the database?If so, is the client going
to connect over MySQL?

Just curious.

(For those who are interested, I'm actually gathering requirements for an
update to a VB6 system that we still maintain here.)
--
kai
www.filesite.org || www.perfectreign.com

government is a process which utilizes
45.5% gut reaction,
45.5% laws and statutes and 1% logic
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Yudi Purwanto
2008-10-17 02:07:00 UTC
Permalink
Hi Satoru

I have tried your direction yesterday
but i'm still confusing when filling 'domain name' or 'domain search'
box. because we donn't use domain. for testing i fill those value with
'workgroup'

Untill now, when i try to search those hostname ('linux' or
'linux.workgroup') from Windows PC, it can't be found. But when i try
to ping the IP address from Windows, the Linux was able to reply the
ping command

What the synonim for 'ipconfig' in OpenSuse?

Hi Kai, actually i just want to include OpenSuse in our existing
workgroup and install MySQL database server on it. The other PC (Win
XP) will run the application which i still developed using VB6 to
access MySQL and store the data on it.

Thanks
Post by Kai Ponte
Post by Yudi Purwanto
if i success in connecting OpenSuse and myWinXP, i plan to attached
MySQL database server on MyOpenSuse. I plan to use OpenSuse as my
small server. Currently i'm still developing small client application
using VB and MySQL to handle inventory system.
By "using VB and MySQL" are you developing in VB6 or VB.net?
Are you just going to use openSUSE for the database?If so, is the client going
to connect over MySQL?
Just curious.
(For those who are interested, I'm actually gathering requirements for an
update to a VB6 system that we still maintain here.)
--
kai
www.filesite.org || www.perfectreign.com
government is a process which utilizes
45.5% gut reaction,
45.5% laws and statutes and 1% logic
--
Satoru Matsumoto
2008-10-17 13:30:46 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Yudi Purwanto
I have tried your direction yesterday
but i'm still confusing when filling 'domain name' or 'domain search'
box. because we donn't use domain. for testing i fill those value with
'workgroup'
Untill now, when i try to search those hostname ('linux' or
'linux.workgroup') from Windows PC, it can't be found. But when i try
to ping the IP address from Windows, the Linux was able to reply the
ping command.
In the UNIX-like system, domain doesn't mean 'Windows domain'. Refer to:
http://www.bleepingcomputer.com/tutorials/tutorial29.html
http://en.opensuse.org/SDB:Host_name,_domain_name

To understand 'domain name' and 'domain search', run those commands
below and read the manual pages first:
man hostname (or 'man domainname')
man resolv.conf
Post by Yudi Purwanto
What the synonim for 'ipconfig' in OpenSuse?
'/sbin/ifconfig -a' will show you the information of IP settings. And
there is another much more flexible command like 'ip'. Anyway, run
man ifconfig
man ip

Bests,

- --
_/_/_/ To be Happy! _/_/_/
_/_/ Satoru Matsumoto _/_/
_/ ***@gmx.net _/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkj4k4YACgkQXnHIfHE6+z3R0ACdFTUGUBlHck00ZBSC3LvxHYmM
eA8AmwT9LR1Z6yfOAJaroTTdVT6o58GS
=jabD
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
David C. Rankin
2008-10-17 16:21:09 UTC
Permalink
Post by Yudi Purwanto
Hi Satoru
I have tried your direction yesterday
but i'm still confusing when filling 'domain name' or 'domain search'
box. because we donn't use domain. for testing i fill those value with
'workgroup'
Untill now, when i try to search those hostname ('linux' or
'linux.workgroup') from Windows PC, it can't be found. But when i try
to ping the IP address from Windows, the Linux was able to reply the
ping command
What the synonim for 'ipconfig' in OpenSuse?
Hi Kai, actually i just want to include OpenSuse in our existing
workgroup and install MySQL database server on it. The other PC (Win
XP) will run the application which i still developed using VB6 to
access MySQL and store the data on it.
Thanks
Post by Kai Ponte
Post by Yudi Purwanto
if i success in connecting OpenSuse and myWinXP, i plan to attached
MySQL database server on MyOpenSuse. I plan to use OpenSuse as my
small server. Currently i'm still developing small client application
using VB and MySQL to handle inventory system.
By "using VB and MySQL" are you developing in VB6 or VB.net?
Are you just going to use openSUSE for the database?If so, is the client going
to connect over MySQL?
Just curious.
(For those who are interested, I'm actually gathering requirements for an
update to a VB6 system that we still maintain here.)
--
kai
Yudi,

To make the openSuSE function as a true workgroup member with the XP machines
and share disk space with the XP boxes, you need to start samba. openSuSE
splits the nmbd and smbd daemons so to start samba, you need to run rcnmb and
rcsmb. For your /etc/samba/smb.conf, use something similar to:

[global]
use sendfile = No
workgroup = rb_law
server string = Samba %v
printcap name = cups
load printers = yes
printing = cups
show add printer wizard = no
disable spoolss = yes
log file = /var/log/samba/log.%m
max log size = 100
time server = yes
admin users = thomas
smb ports = 139
hosts allow = 192.168.7. 192.168.6. 192.168.8. 192.168.5. 127.
domain logons = yes
map to guest = bad user
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY
local master = yes
os level = 69
domain master = yes
preferred master = yes
name resolve order = wins lmhosts bcast
wins support = yes
dns proxy = no
usershare allow guests = No
[homes]
comment = Home Directories
browseable = no
writable = yes
[samba]
comment = SambaShares - Pictures, Law
path = /home/samba
valid users = @shoreline, anna
force group = shoreline
admin users = thomas
browseable = Yes
writeable = Yes
inherit permissions = yes

Don't forget to add the samba users using the SAME username/password
combinations that you use to log into the XP boxes. You add samba users with
"smbpasswd -a username". The additional benefit is that samba will function as
the netbios nameserver and keep the browselist for your local network that will
solve the netbios name resolution problem you are having. See www.samba.org for
documentation. Specifically see the Using Samba online book that will walk you
through setup and configuration.
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Loading...