Results 1 to 5 of 5
alright well this is pretty much my third post on the same thing. well i still cant connect using a cable at my home, but i was wardriving this weekend ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-20-2005 #1
- Join Date
- Mar 2005
Network connection problems
- 03-20-2005 #2
I'm not sure but it sounds like your ethernet card is configured because it works at school. Try looking around and changing settings in this file:
look at it using the less comand for example: less /etc/conf.d/net
and edit it with something like nano: nano /etc/conf.d/net
look to see it it is set to automatically obtain ip with dhcp
find out how your internet service works. Does it use dhcp or do you need to manually assign ip values?
besides that it sounds like a perplexing problem.
- 03-20-2005 #3
This is slackware, so no conf.d
The settings of ethernet devices are in /etc/rc.d/rc.inet1.conf . After modifying your changes (using netconf or netconfig, I don't remember) you could restart the thing usingCode:
/etc/rc.d/rc.inet1 startI\'m so tired .....
- 03-21-2005 #4
- Join Date
- Mar 2005
well i do have dhcp so there is nothing really to configure, but i did try netconfig and it didn't help anything
- 03-21-2005 #5
Maybe give us some more info. It is weird that the wireless dhcps and your school dhcp's. I would look to make sure your not using a crossover cable at your house. Maybe at your house write a shell script using a static IP to see if that works.
Here is something I do.
cp rc.inet1.conf rc.inet1.conf.dhcp
cp rc.inet1.conf rc.inet1.conf.home
edit it with a static. (assuming your network is 192.168.1.)
Pick an IP that isn't in your router dhcp pool usually 192.168.1.5 works fine.
then make your subnet mask 255.255.255.0
then where is says
dhcp "yes" change it to dhcp ""
then scroll down to gate way and make it
192.168.1.1 # if that is your network
then save it
Now write a shell script
call it net.home
cd /etc/rc.d cp rc.inet1.conf.home rc.inet1.conf reboot
So when you go home
log in as root and do this
something you can try.
You could write another script to change it back
cp inet1.conf.dhcp rc.inet1.conf
another thing I do is make a backup of the rc.inet1 file because when you start playing with the rc.inet1.conf file if your forget the .conf you is overwrite your rc.inet1 file and that would be bad so I make a copy like this
cp rc.inet1 rc.inet.orig
then you have a backup in case you make a mistake.
I hope this works for you.
Let me know if you need more clarrification
MikeSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds