LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-11-2008, 02:17 PM   #1
fejky
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Rep: Reputation: 0
Network problem, slackware 12.0


I have been searching this forum and other ones for quite some time now, i have read slackbook network configuration and still do not manage to setup my network.
I'm using a router, Gigaset SE555.

If you could spare some time to help me i would appriciate it.
Thanks!


ifconfig -a output

Code:
eth0      Link encap:Ethernet  HWaddr 00:50:8D:70:8F:C3  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0xb000 Memory:d1020000-d1040000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:736 errors:0 dropped:0 overruns:0 frame:0
          TX packets:736 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:61584 (60.1 KiB)  TX bytes:61584 (60.1 KiB)
 
Old 09-11-2008, 02:23 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Are you using DHCP or you've assigned a static IP to your computer? The eth0 part is missing your IP.

I don't use Slack, but what is the output of:


# route

or possibly

# /sbin/route
 
Old 09-11-2008, 02:54 PM   #3
fejky
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Original Poster
Rep: Reputation: 0
hey, thanks for your reply

Kernel IP routing table

Code:
Destination    Getaway    Genmask    Flag    Metric    Ref   Usr    Iface
loopback          *      255.0.0.0    U         0       0     0       lo
 
Old 09-11-2008, 03:19 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Are you using DHCP or a static IP?
As I said, I don't use slackware so I'm not sure how to do it but you can run 'netconfig' (as root) and for now it'll probably be easier to choose DHCP option, just make sure you put your router's IP address in the DNS and Gateway fields.
 
Old 09-12-2008, 07:32 AM   #5
fejky
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Original Poster
Rep: Reputation: 0
hi, i'm using a dhcp and i've already tried netconfig
 
Old 09-12-2008, 07:41 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you put the Gigaset SE555 IP address as gateway in netconfig ?
(btw it is gateway not "getaway" as shown in your route output )
 
Old 09-12-2008, 07:47 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Time to show us the output of this command:
Code:
cat /etc/rc.d/rc.inet1.conf | grep -v "#"
Your card is available but is not getting configured. The problem can be in rc.inet1.conf

Eric
 
Old 09-12-2008, 07:51 AM   #8
fejky
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Code:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

# =============================================================================

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="192.168.1.1"

# 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="no"

## Example config information for wlan0.  Uncomment the lines you need and fill
## in your info.  (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0"              # Use a different interface name nstead of
                                # the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89"  # Overrule the card's hardware MAC address
#MTU[4]=""                      # The default MTU is 1500, but you might need
                                # 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes"       # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes"          # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes"           # If you don't want the DHCP server to change
                                # your default gateway
#DHCP_IPADDR[4]=""              # Request a specific IP address from the DHCP
                                # server
#WLAN_ESSID[4]=DARKSTAR         # Here, you can override _any_ parameter
                                # defined in rc.wireless.conf, by prepending
                                # 'WLAN_' to the parameter's name. Useful for
                                # those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=thekey TxRate=0"
                                # Some drivers require a private ioctl to be
                                # set through the iwpriv command. If more than
                                # one is required, you can place them in the
                                # IWPRIV parameter (space-separated, see the
                                # example).
 
Old 09-12-2008, 08:26 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Looks good apart from
Code:
GATEWAY="192.168.1.1"
- if yu use DHCP you should not need to define the default gateway explicitly (unless the DHCP server does not provide that information).
But although your card is set for DHCP, it does not get an IP address.
What happens if you try to force the DHCP client by typing
Code:
dhcpcd -d -t 30 eth0
Eric
 
Old 09-12-2008, 08:34 AM   #10
fejky
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Original Poster
Rep: Reputation: 0
it types out my mac address
 
Old 09-12-2008, 08:53 AM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Maybe dhcp is not enabled in the router ? What does the router manual say about dhcp ?
Have you tried a fixed ip config ? like run netconfig and set:
192.168.1.2 as IP
255.255.255.0 as netmask
192.168.1.1 as gateway

[edit]
Do you use the correct ethernet cable, I mean depending on if you connect the computer on a hub or directly on router, it may be direct or crossover ethernet cable, I know modern routers accept both, but may be worth checking

Last edited by keefaz; 09-12-2008 at 08:58 AM.
 
Old 09-12-2008, 08:59 AM   #12
fejky
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Original Poster
Rep: Reputation: 0
DHCP is enabled in router, i've tried fixed ip settings before, but no success.
I do not have a router manual, but i have some standard options in router settings, lease time, first and last issued address, domain name
and clients.
I have even tried manually adding eth0 mac address to clients.

EDIT: I didn't saw your edit.
I'm sure that i am using right cable, i've managed to setup slackware 3-4 year ago. I was using XP unitil 2 days ago, but i decided to install slack again.

Last edited by fejky; 09-12-2008 at 09:09 AM.
 
Old 09-12-2008, 09:16 AM   #13
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I just saw on siemens site that default router IP is 192.168.2.1, not 192.168.1.1...
Could you try a quick fixed IP settings in netconfig with :
192.168.2.2 as IP
255.255.255.0 as netmask
192.168.2.1 as gateway
 
Old 09-12-2008, 09:19 AM   #14
fejky
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Original Poster
Rep: Reputation: 0
it is 192.168.1.1 for me, and my gigaset assigns ip adtresses from 192.168.100 to 192.168.199
 
Old 09-12-2008, 09:42 AM   #15
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Ok, and did you try to ping the router IP after a fixed IP netconfig ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with network in Slackware msrpower Linux - Networking 1 08-23-2008 01:15 PM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Slackware 11 network problem bigdog632 Linux - Newbie 3 10-17-2006 03:11 PM
slackware 9.1 network problem uranologist Linux - Networking 1 04-13-2004 03:17 PM
Slackware Network Problem... Zanneth Linux - Networking 19 02-20-2004 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration