SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In my router (in the LAN IP settings section) there's a checkbox (that's checked) that tells me it's acting as a dhcp server. So i presume this is the host? I need to put something in rc.inet1.conf for dhcp hostname, but there's nothing in the router settings showing me such a name.
Any ideas anyone? Thanks in advance,
mute
Check the documentation of your router, it might also have a pre-set hostname. Or I just realized while typing, try resolving the router's host name with a ping. If no host name comes up, then assign one on your router's settings (again see the doc for your router, since I don't know what router you have nor am I familiar with all routers). Also I think you can get away with just supplying the router's IP, but I am not for sure on that.
Ok, if you are trying to get wireless to work, then you need to know the SSID. That isn't quite like the host name. The SSID is something that ID's your router to wireless cards. Go into your router, and find your wireless settings, and see if there is a default one. If not, Also remember to use WPA for security rather than WEP. Even better, WPA2, that is if your router has that function, and your card supports it.
The host name is just the name of your computer. If you are setting up your wireless on the computer using DHCP and there is no encryption you will only need to provide the following information in /etc/rc.d/rc.inet1.conf:
Code:
GATEWAY="router ip"
IFNAME=[#]="device name" (IE: wlan0, ath0, etc..)
USE_DHCP[#]="yes"
WLAN_ESSID[#]="wireless broadcast name"
DHCP_HOSTNAME[#]="computer name"
#= the number of the device being configured, should already be preset.
If your wireless has WPA encryption you will need to configure the /etc/wpa_supplicant file as well.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
In my router (in the LAN IP settings section) there's a checkbox (that's checked) that tells me it's acting as a dhcp server. So i presume this is the host? I need to put something in rc.inet1.conf for dhcp hostname, but there's nothing in the router settings showing me such a name.
The router may be acting as the dhcp server but the "host" refers to the client machine i.e. your workstation. The DHCP_HOSTNAME[] settings in rc.inet1.conf refer to the name of the host machine (your workstation). You can usually leave this blank or simply put the name of the PC returned by "hostname".
Ah right, useful stuff about the host not being the host
I have tried to alter my rc.inet1.conf yet, basically because i've been trying to get WICD to work, which i have, but it cant see my essid (my ubuntu partion can see it). I might post my rc.inet1.conf here when i get home tonght if that's ok.
Thanks again,
mute
PS: even a "iwlist wlan0 scan" doesnt pick up my network
Last edited by mutexe; 12-16-2009 at 11:30 AM.
Reason: added the PS
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
Ah right, useful stuff about the host not being the host
Lol - this is admittedly confusing. However if you think of it in terms of the DHCP server,(Dynamic Host Configuration Protocol server), is serving IP addresses to hosts on the network (network nodes) - it hopefully makes more sense. The hosts are the clients in the DHCP client/server relationship.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.