Linux за българи: Форуми

Linux секция за начинаещи => Настройка на хардуер => Темата е започната от: Mellay в Aug 04, 2006, 16:14



Титла: Netconfig
Публикувано от: Mellay в Aug 04, 2006, 16:14
Здравейте,Искам да ви попитам как мога да си настроя интернета на slackware 10.0 .Давам в конзолата netconfig там попълвам настройтеки,но не се получава.
Може ли от другате да ги настроя ? Ако не моля да ми кажете точно какво да пиша на netconfig под конзолата  :(


Титла: Netconfig
Публикувано от: Lord Bad в Aug 04, 2006, 16:31
Първо уточни какъв интернет точно използваш - лан(с директна връзка към gw, с pppoe, с vpn), adsl, кабелен модем и т.н. Ние тук не сме врачки;)


Титла: Netconfig
Публикувано от: Mellay в Aug 04, 2006, 16:37
langame жица ;)


Титла: Netconfig
Публикувано от: astronom в Aug 04, 2006, 16:42
Цитат (Mellay @ Авг. 04 2006,16:37)
langame жица ;)

netconfig просто записва настройките ти в конфигурационните файлове. За да ги вкараш в употреба обаче трябва да напишеш следното:

/etc/rc.d/rc.inet1 restart

или да рестартираш машината. Не знам какви са настройките които изисква доставчика ти и по какъв начин трябва да правиш връзка с него и не мога да кажа повече.


Титла: Netconfig
Публикувано от: Mellay в Aug 04, 2006, 17:08
Аз искам да ги настроя не съм ги настроел от etc/rc.d/rc.inet1 ли се настройва ?

Примерен код
rc.inet1

rc.inet1's role is simple: it configures your networking devices and sets up your routing. Essentially, rc.inet1 is the file that gives you a network in the first place, reading config options from its config file: rc.inet1.conf.

This configuration file is pretty simple, it supports up to 3 different networking devices. For each device there's a section like the following:

# Config information for eth0:
IPADDR[0]="[b]Моето ип ?[/b]"
NETMASK[0]="[b]255.255.255.0[/b]"
USE_DHCP[0]="[b]Тук какво[/b]"
DHCP_HOSTNAME[0]="[b]тук пак;'щ[/b]"

Your IP address (IPADDR) you can get from your network administrator. The netmask is almost always going to be 255.255.255.0, unless your machine is at the top of the subnet (in which case you probably don't need this page). USE_DHCP and DHCP_HOSTNAME are used if you lease an IP address from a DHCP server.

At the bottom of rc.inet1.conf you'll find:

# Default gateway IP address:
GATEWAY="[b]Тук ?[/b]"

# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="[B]no=ако пък дам yes?[/B]"

GATEWAY is usually going to be the first machine on your subnet (though it may not be... ask your network admin.). DEBUG_ETH_UP can be used for debugging purposes.

Моля отговорете  ???





Титла: Netconfig
Публикувано от: Mellay в Aug 04, 2006, 18:52
Opravix se oba4i bukvite sa sravnitelno malki ...