LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   net config for slackware (https://www.linuxquestions.org/questions/linux-networking-3/net-config-for-slackware-390354/)

Wes527 12-07-2005 10:43 PM

net config for slackware
 
i just installed slackware 10.2, and i am having trouble setting up the internet conenction. i run "netconfig" and try to fill in everything wright, but i do not no exactly what i am supposed to put in some areas. is there anything that will automaticly configure the internet like in slax?

vls 12-07-2005 11:25 PM

Quote:

Originally Posted by Wes527
... is there anything that will automaticly configure the internet like in slax?

No automation in the stock Slack.

Netconfig is easy though.

I'm assuming yours is a home machine.

First screen: Enter Hostname
Give your computer a name; whatever you want. I name my machines after monster movie characters: frankenstein, godzilla, etc.

Second Screen: Enter Domainname:
If this is a home machine, localhost is good enough.

Third Screen: Setup IP address
Tricky here. Depends on how you're connecting to the Internet
Straight from DSL or Cable Modem?
Running through a router like Linksys? Either way, pick DHCP for now.
Dialup? Hit loopback.

After the screen quits, cd to /etc/rc.d:
Type at a command prompt:
Code:

. rc.inet1
(that's a period first; you could use 'source' builtin also.)

type ifconfig at a command prompt and you should have something like this:

eth0 Link encap:Ethernet HWaddr 00:E0:98:00:B7:87
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1272 errors:0 dropped:0 overruns:0 frame:0
TX packets:1392 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:271680 (265.3 Kb) TX bytes:181580 (177.3 Kb)
Interrupt:3 Base address:0x300

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1652 (1.6 Kb) TX bytes:1652 (1.6 Kb)

I hope this helps you out.

Wes527 12-07-2005 11:36 PM

Quote:

Originally Posted by vls
No automation in the stock Slack.

Netconfig is easy though.

I'm assuming yours is a home machine.

First screen: Enter Hostname
Give your computer a name; whatever you want. I name my machines after monster movie characters: frankenstein, godzilla, etc.

Second Screen: Enter Domainname:
If this is a home machine, localhost is good enough.

Third Screen: Setup IP address
Tricky here. Depends on how you're connecting to the Internet
Straight from DSL or Cable Modem?
Running through a router like Linksys? Either way, pick DHCP for now.
Dialup? Hit loopback.

After the screen quits, cd to /etc/rc.d:
Type at a command prompt:
Code:

. rc.inet1
(that's a period first; you could use 'source' builtin also.)

type ifconfig at a command prompt and you should have something like this:

eth0 Link encap:Ethernet HWaddr 00:E0:98:00:B7:87
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1272 errors:0 dropped:0 overruns:0 frame:0
TX packets:1392 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:271680 (265.3 Kb) TX bytes:181580 (177.3 Kb)
Interrupt:3 Base address:0x300

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1652 (1.6 Kb) TX bytes:1652 (1.6 Kb)

I hope this helps you out.

after i choose dhcp there is more information i need to enter, how do i find this out? i have cable and i am using a network everywere router. here is some information i gatherd on the setup page for the router:

(removed for security reasons)

vls 12-08-2005 12:01 AM

Quote:

Originally Posted by Wes527
after i choose dhcp there is more information i need to enter, how do i find this out? i have cable and i am using a network everywere router. here is some information i gatherd on the setup page for the router:

host name: wes
domain name: ri.cox.net
LAN ip addres (of the router:
WAN:
IP:
subnet mask:
default gateway:
DNS:

this computer's internal IP:

Sounds like you need a hostname from your ISP.
wes seems to be it, try that on next screen after picking DHCP in
netconfig and see what happens.

If not, I don't know. You'll have to call the ISP and hope there's a Linux geek on the other end or you can get connected to one.

On a side note, you really should cut those IP addresses out of your post.

Wes527 12-08-2005 12:46 AM

Quote:

Originally Posted by vls
Sounds like you need a hostname from your ISP.
wes seems to be it, try that on next screen after picking DHCP in
netconfig and see what happens.

If not, I don't know. You'll have to call the ISP and hope there's a Linux geek on the other end or you can get connected to one.

On a side note, you really should cut those IP addresses out of your post.

i will call them up tomarro, thanks for the help. could you remove the info from your quote please?

edit: i just went on there website, they will only help you with windows and mac, figures.
is there no automatic network tool?

Lektroluv 10-01-2008 10:16 AM

Quote:

Originally Posted by vls (Post 1988439)
No automation in the stock Slack.

.............................................................

After the screen quits, cd to /etc/rc.d:
Type at a command prompt:
Code:

. rc.inet1
(that's a period first; you could use 'source' builtin also.)

Here I get back:
Polling for DHCP server on interface eth0: No carrier detected on eth0. Reducing DHCP timeout to 10 seconds.
dhcpcd: MAC address = ....
SIOCSIFFLAGS: No such file or directory
-bash: eth1 information 'WiFiVDW'


Quote:

Originally Posted by vls (Post 1988439)
type ifconfig at a command prompt and you should have something like this:

eth0 Link encap:Ethernet HWaddr 00:E0:98:00:B7:87
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1272 errors:0 dropped:0 overruns:0 frame:0
TX packets:1392 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:271680 (265.3 Kb) TX bytes:181580 (177.3 Kb)
Interrupt:3 Base address:0x300

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1652 (1.6 Kb) TX bytes:1652 (1.6 Kb)

I hope this helps you out.

After ifconfig I only get:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1652 (1.6 Kb) TX bytes:1652 (1.6 Kb)


Can you help me?
I'm using slackware.

WorldIsNotFair 10-01-2008 12:30 PM

for requesting ip from dhcp server on slackware,

use dhcpcd [interface] --> dhcpcd eth0

, for auto u can make a script and put it to /etc/rc.local.

i can't get thing well too with netconfig / rc.inet1 script.


All times are GMT -5. The time now is 01:15 AM.