• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Internet und Netzwerkeinstellung

Renix

Newbie
Sers,
Also ich habe mich jetzt schon mehrere Stunden damit befasst wie ich erstmals mit meinem Opensuse 10.3 ins Internet komme! Jedoch klappt dies nicht!Ip und Standartgatway, alles eingetragen. Auf den Router selbst komme ich vom Linux, aber sobald ich ins Internet möchte "konnte nicht gefunden werden!"
Das nächste ist, habe Samba eingerichtet, wie läuft das mit den Benutzter rechten vergeben ab? oder gibt es einen guten Faq dazu?
Danke schonmal
 

Grothesk

Ultimate Guru
DNS gesetzt?
Das skrpt von framp bitte mal laufen lassen:
http://www.linux.framp.de/index.php/content/view/18/1/
 
OP
R

Renix

Newbie
Also das tool hat mir nur gesagt das die Netzwerkkarte nicht vorhanden wäre und das ich keine verbidung hätte... Unter Suse Linux 9.3 hatte ich die Netzwerkeinstellungen ganz anders im Kopf!
Bei 10.3 ist das erheblich automatisiert worden... Hmm[/img]
 

Grothesk

Ultimate Guru
Und was sagt das Tool uns? Sorry, ich kann nicht auf deinen Desktop schauen. Und erzähl mal etwas über den Aufbau des Netzwerks. Läauft da evtl. sogar ein DHCP-Server? Modem?`Router?
 
OP
R

Renix

Newbie
So zum Netzwerk selbst!
Das Dsl läuft über ein Adsl Router von Netgear den WG834Gb glaub ich und ist über ein Gigabit Netzwerk angeschlossen! Server im Haus gibt es keinen, der einzige der zum Server gemacht werden soll, ist der Linux Rechner jetzt!
Die Restlichen Pc's im Hause sind alle mit Windows Xp am laufen. Deswegen auch die frage mit dem Samba.
Netzwerkkarte ist Onboard und wurde auch erkannt (Nforce4 SLI Chipsatz).
Das tool kann leider die datei nicht schreiben, kriege keine rechte gesetzt mit Chmod.... bissi doof
Ich hoffe das langt an Infos
 

revealed

Guru
konfigurierst du deine Netzwerkkarte via DHCP?

Schau mal ob bei:
Code:
hwinfo --network | egrep "Config Status|Link"
"avail=yes"
und
Link detected: "yes"
?

Und schieb ein:
Code:
su
ifconfig
Dann müsstest du sehen, ob dein rechner ne IP bekommen hat.

Falls nein, starte mal als "SU" ein:
Code:
dhclient
Code:
rcnetwork start

Falls dass dan geht und nach einem Neustart nicht mehr, melde dich bitte nochmals.

Gruß

R
 
OP
R

Renix

Newbie
also über dhcp lasse ich es nicht laufen! Verteile im Netzwerk Feste Ip's! Was komisch ist, das ich auf den Router komme aber nicht ins Internet!
[/img]
 

revealed

Guru
bezieht dein Netgear seine DNS automatisch vom Provider?

Dan trag die IP Adresse des Routers also die "Gateway" als DNS ein?

oder versuch eine Internetseite zu pingen anhand vom Namen? testweise...
Code:
ping google.de

Gruß

R
 
OP
R

Renix

Newbie
Die Dns wird automatisch bezogen!
Die Dns habe ich auch so eingetragen und ist auch bei den Windows Rechnern so eingetragen! Jedoch ohne erfolg!
bei
Code:
ping http://www.googel.de
kommt unknow host
 

Grothesk

Ultimate Guru
Wie beziehst du denn den DNS automatisch, wenn da kein DHCP eingesetzt wird?
Trag den DNS-Server mal in die /etc/resolv.conf ein.
Sieht dann so in der Art aus:
Code:
nameserver 208.67.222.222
nameserver 208.67.220.220
Übrigens:
Code:
ping http://www.googel.de
ping: unknown host http://www.googel.de
:lol:
 

Grothesk

Ultimate Guru
Als root kannst du definitv in die Datei schreiben.
Irgendwas machst du falsch.
Code:
su -

dann
Code:
nano /etc/resolv.conf

Die Ausgabe des skriptes fehlt übrigens immer noch...
 
OP
R

Renix

Newbie
also die datei habe ich mal geöffnet mit vi aber da steht garnix drinnen!
Und wenn ich über die Konsole von Opensuse rein gehe dann
Code:
su
und passwort! trotzt eingabe
Code:
/etc/resolv.conf
dagt er keine berechtigung!
Entweder bin ich doff oder irgendetwas stimmt nicht...
 

Grothesk

Ultimate Guru
Code:
DEIN_EDITOR /etc/resolv.conf
Also
Code:
vi /etc/resolv.conf
oder
Code:
nano /etc/resolv.conf
oder
Code:
joe /etc/resolv.conf
oder
oder...
 

revealed

Guru
Jo dann machst du folgendes du gehst unter die Zeile mit "search"

Und trägst zeilen ein:
Code:
search
nameserver 000.000.000.000
nameserver 000.000.000.000
nameserver IPDEINESnetgearRouter
Wobei die 000.000.000.000 symbolisch für IP adressen deiner Namensserver stehen, die du natürlich weißt und anstelle der 000 er bzw netgearsym einträgst.

Und dann speicherst du mit ":wq" ?

Ein Problem wird jedoch sein, dass Knetworkmanager deine Datei modifiziert, das heißt deine Einstellung wird schätzungsweise unweigerlich überschieben? Was schätzungsweise nur durch änderung eines Sysconfigwertes behoben werden kann.?

Alternativ gehst du in den Sysconfig Editor im Yast und dort zu dem Wert:
"Network" --> "General" --> "MODIFY_RESOLV_CONF_STATIC_DNS"

In dem Feld kannst du Namensserver eintragen. Diese werden dann nicht modifiziert?
Datei: /etc/sysconfig/network/config
Mögliche Werte: Beliebiger Wert
Standardwert:
Neu zu startender Dienst: network
Beschreibung:
If you need a special nameserver that should always be prepended to the list
of dynamically changed nameservers, you may add it here.

Gruß

R

Gruß

R
 
OP
R

Renix

Newbie
Jo danke werde ich Probieren! Den Networkmanager zu deaktivieren hat jedenfalls nicht so geklappt beim umstellen auf if... hmm muss mich wohl schlau googeln!
Morgen gehts weiter
Danke und Gn8
 

revealed

Guru
Alles klar! Falls du übrigens mit vi nicht so gut zurecht kommen solltest, versuche is mit "kwrite"?

Gute Nacht!

Gruß

R
 
OP
R

Renix

Newbie
sers, also ich habe den Network manager wieder aktiviert!
Meine config sieht so aus!

Code:
## Path:	Network/General
## Description:	Set some general network configuration
## Type:	string("","-","+")
## Default:	"+"
## ServiceRestart: network
#
# DEFAULT_BROADCAST is used when no individual BROADCAST is set. It can get one
# of the following values:
# ""  : don't set a broadcast address
# "-" : use IPADDR with all host bits deleted
# "+" : use IPADDR with all host bits set
DEFAULT_BROADCAST="+"

## Type:	yesno
## Default:	yes
# sometimes we want some script to be executed after an interface has been
# brought up, or before an interface is taken down. 
# default dir is /etc/sysconfig/network/if-up.d for POST_UP and
# /etc/sysconfig/network/if-down.d for PRE_DOWN
# Note: if you use NetworkManager then down scripts will be called after the
# interface is down and not before.
GLOBAL_POST_UP_EXEC="yes"
GLOBAL_PRE_DOWN_EXEC="yes"

## Type:        yesno
## Default:     no
# If ifup should check if an ip address is already in use, set this to yes.
# Make sure that packet sockets (CONFIG_PACKET) are supported in the kernel,
# since this feature uses arping, which depends on that.
# Also be aware that this takes one second per interface; consider that when
# setting up a lot of interfaces. 
CHECK_DUPLICATE_IP="no"

## Type:        yesno
## Default:     no
# Switch on/off debug messages for all network configuration stuff. If set to no
# most scripts can enable it locally with "-o debug".
DEBUG="no"

## Type:        yesno
## Default:     yes
# All error and info messages from network and hardware configuration scripts go
# to stderr. Most tools that call sysconfig scripts (udev, rcnetwork, scpm,
# YaST) catch these messages and can log them. So some messages appear twice in
# syslog. If you don't like that, then set USE_SYSLOG=no.
USE_SYSLOG="yes"

## Type:        yesno
## Default:     yes
# There are some services (ppp, ippp, dhcp-client, pcmcia, hotplug) that have to
# change the /etc/resolv.conf dynamically at certain times.  E.g. if ppp/ippp
# establishes a connection and is supplied by the peer with a list of
# nameservers. Or pcmcia needs to set the correct nameserver for the choosen
# configuration scheme. If you don't like these services to change
# /etc/resolv.conf at all, then set this variable to "no".
# If unsure, leave it at the default (which is "yes").
#
MODIFY_RESOLV_CONF_DYNAMICALLY="yes"

## Type:        yesno
## Default:     no
# Like MODIFY_RESOLV_CONF_DYNAMICALLY, except it modifies
# /etc/named.d/forwarders.conf instead of resolv.conf.
# If unsure, leave it at the default (which is "no").
#
MODIFY_NAMED_CONF_DYNAMICALLY="no"

## Type:        string
## Default:     ""
# If you need a special nameserver that should always be prepended to the list
# of dynamically changed nameservers, you may add it here.
#
MODIFY_RESOLV_CONF_STATIC_DNS="yes"

#search
#namserver: 192.168.0.1
#namserver: 192.168.0.1
#namserver: 192.168.0.1
# Handling of network connections
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# These features are designed for the convenience of the experienced
# user. If you encounter problems you don't understand then switch
# them off. That is the default.
# Please do not complain if you get troubles. But if you want help to
# make them smarter write to <http://www.suse.de/feedback>.

## Type:	yesno
## Default:	no
#
# If you are interested in the connections and nfs mounts that use a
# network interface, you can set CONNECTION_SHOW_WHEN_IFSTATUS="yes".
# Then you will see them with 'ifstatus <interface>' (or 'ifstatus
# <config>')
# This one _should_ never harm ;)
#
CONNECTION_SHOW_WHEN_IFSTATUS="no"

## Type:	yesno
## Default:	no
#
# If an interface should be set down only if there are no active
# connections, then use CONNECTION_CHECK_BEFORE_IFDOWN="yes"
#
CONNECTION_CHECK_BEFORE_IFDOWN="no"

## Type:	yesno
## Default:	no
#
# If these connetions (without the nfs mounts) should be closed when
# shutting down an interface, set CONNECTION_CLOSE_BEFORE_IFDOWN="yes".
# WARNING: Be aware that this may terminate applications which need
# one of these connections!
#
CONNECTION_CLOSE_BEFORE_IFDOWN="no"

## Type:	yesno
## Default:	no
#
# If you are a mobile laptop user and like even nfs mounts to be
# closed when you leave your current workplace, then set
# CONNECTION_UMOUNT_NFS_BEFORE_IFDOWN="yes". This does only work
# if CONNECTION_CLOSE_BEFORE_IFDOWN="yes", too.
# WARNING: Be aware that this may terminate applications which use
# these nfs mounts as working directory. Be very carefull if your home
# is mounted via nfs!!!
# WARNING: This may even lead to hanging ifdown processes if there are
# processes that could not be terminated. If you are using
# hotpluggable devices (pcmcia, usb, firewire), first shut them down
# before unplugging!
#
CONNECTION_UMOUNT_NFS_BEFORE_IFDOWN="no"

## Type:	yesno
## Default:	no
#
# If terminating processes that use a connection or nfs mount is not
# enough, then they can be killed after an unsuccesfull termination.
# If you want that set CONNECTION_SEND_KILL_SIGNAL="yes"
#
CONNECTION_SEND_KILL_SIGNAL="no"

## Type:        string
## Default:     ""
#
# Here you may specify which interfaces have to be up and configured properly
# after 'rcnetwork start'. rcconfig will return 'failed' if any of these
# interfaces is not up. You may use interface names as well but better use
# hardware descriptions of the devices (eth-id-<macaddress> or eth-bus-...  See
# man ifup for 'hardware description'). The network start script will wait for
# these interfaces, but not longer as set in WAIT_FOR_INTERFACES.
# You need not to add dialup or tunnel interfaces here, only physical devices.
# The interface 'lo' is always considered to be mandatory and can be omitted.
#
# If this variable is empty, rcnetwork tries to derive the list of mandatory
# devices automatically from the list of existing configurations. Configurations
# with names bus-pcmcia or bus-usb or with STARTMODE=hotplug are skipped. (try
# '/etc/init.d/rc5.d/S*network start -o debug fake | grep MANDAT')
MANDATORY_DEVICES=""

## Type:	integer
## Default:	20
#
# Some interfaces need some time to come up or come asynchronously via hotplug.
# WAIT_FOR_INTERFACES is a global wait for all mandatory interfaces in
# seconds. If empty no wait occurs.
#
WAIT_FOR_INTERFACES="20"

## Type:	yesno
## Default:	yes
#
# With this variable you can determine if the SuSEfirewall when enabled
# should get started when network interfaces are started.
FIREWALL="yes"

## Type:        string
## Default:     "eth*[0-9]|tr*[0-9]|wlan[0-9]|ath[0-9]"
#
# Automatically add a linklocal route to the matching interfaces.
# This string is used in a bash "case" statement, so it may contain
# '*', '[', ']'  and '|' meta-characters.
#
LINKLOCAL_INTERFACES="eth*[0-9]|tr*[0-9]|wlan[0-9]|ath[0-9]"

## Type:        string
## Default:     "-f -I"
#
# Set default options for ifplugd. You may also set them in an ifcfg-* file
# individually. Have a look at 'man ifplug' for details. We let ifplugd set the
# interface UP when starting, because there are many interfaces where link beat
# cannot be detected otherwise. If you want the interface to stay down then add
# the option '-a'. If you like ifplugd to beep on cable (un)plug, remove '-b'.
#
IFPLUGD_OPTIONS="-f -I -b"
# - need VLAN, bonding, bridging, multiple IP addresses
# - must restrict network control to root
# It may also switch interfaces automatically, but lacks a usable GUI for normal
# users.
#
# NetworkManager lets the user control interfaces and switches automatically if
# network interfaces lose/gain physical connection. It should be used if you:
# - move between networks frequently
# - want a GUI for network control
# Especially on mobile computers that use mainly one wired and one wireless
# interface NetworkManager will please you.
#
# If you are used to SCPM then you might probably stay with NetControl. But at
# least try NetworkManager, because it can replace SCPM in some usage scenarios.
# 
NETWORKMANAGER="yes"

## Type:	int
## Default:	0
#
# When using NetworkManager you may define a timeout to wait for NetworkManager
# to connect.  Other network services may require the system to have a valid
# network setup in order to succeed.
# 
# This variable has no effect if NETWORKMANAGER=no
#
NM_ONLINE_TIMEOUT="0"
 
## Type:        yesno
## Default:     yes
#
# When using NetworkManager you may want to trigger special actions when an
# interface comes up. NetworkManagerDispatcher is a daemon that listens to
# dbus-messages that tell that an interface is up/down and triggers whatever
# you like. Read more about it in the manpage to NetworkManagerDispatcher.
#
# This variable has no effect if NETWORKMANAGER=no
#
NM_DISPATCHER="yes"

Ich habe es versucht aber irgendwie klappt das nicht so.
 
Oben