LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Network Configuration (https://www.linuxquestions.org/questions/slackware-14/network-configuration-581667/)

a1ora0 08-13-2007 09:32 AM

Network Configuration
 
I've a airtel broadand connection through ethernet(static ip).I get easily connected on Windows(also on ubuntu live cd anytime) but not on my slack11. i've configured the network by $netconfig and then $/etc/rc.d/rc.inet1

The strange part is that suppose i use slack first thing in the morning, i get connected and can browse ,but suppose if i happen to use windows in any part of the day then i'm unable to get connected the rest part of the day on slack...i just wanna make another point that if i give enough time gap between my windows access n linux access(say 4 to 5 hours)then i'm able to connect on slack,not otherwise.

note:-i'm able to ping 192.168.1.2(my ip address) but not my gateway. and also i've set the parameters (ip,gateway,nameserver etc)as set on windows

tommcd 08-14-2007 03:19 AM

Quote:

Originally Posted by a1ora0 (Post 2857361)
I've a airtel broadand connection through ethernet(static ip).I get easily connected on Windows(also on ubuntu live cd anytime) but not on my slack11. i've configured the network by $netconfig and then $/etc/rc.d/rc.inet1

The strange part is that suppose i use slack first thing in the morning, i get connected and can browse ,but suppose if i happen to use windows in any part of the day then i'm unable to get connected the rest part of the day on slack...i just wanna make another point that if i give enough time gap between my windows access n linux access(say 4 to 5 hours)then i'm able to connect on slack,not otherwise.

note:-i'm able to ping 192.168.1.2(my ip address) but not my gateway. and also i've set the parameters (ip,gateway,nameserver etc)as set on windows

This is just a guess, but after using windows try unplugging the computer from the outlet for about 5 minutes, then plug it back in and see if slackware can connect. I have read that windows will leave some ethernet cards "locked" in a state where linux can't use them. Unplugging the computer resets the device and then linux can use it. The fact that slackware can connect "first thing in the morning" but not after using windows suggests this is worth a try.

a1ora0 08-14-2007 11:20 AM

it did solve my problem...thanks a load....:D


but again why do i easily get connected on ubuntu...and is there any alternative solution to the problem on slack??

Ace1970 08-14-2007 12:54 PM

Quote:

Originally Posted by a1ora0 (Post 2858647)
..and is there any alternative solution to the problem on slack??

Just a guess but would renewing your WAN ip between sessions perhaps help or maybe when booting into Slack, bring the NIC down and then up again or even restarting inetd daemon. No clue if any of that will help but it may be some food for thought.

tommcd 08-15-2007 04:43 AM

Quote:

Originally Posted by a1ora0 (Post 2858647)
it did solve my problem...thanks a load....:D


but again why do i easily get connected on ubuntu...and is there any alternative solution to the problem on slack??

I don't know why the ubuntu live CD can connect and slackware can't, but I first read about this problem on the ubuntu forums, so it can happen when ubuntu is installed also. Unfortunately, I don't know of any work around for this, other than unplugging the computer. Perhaps what Ace1970 suggested is worth a try.

a1ora0 09-02-2007 11:56 AM

Network Configuration
 
i use a dual boot system, wundows XP n slackware.


probably a very weird problem ,nonetheless true,as soon i switch over from
windows to slackware. i don get connected..but i boot slackware first i get connected.i've configured the net using netconfig and then /etc/rc.d/rc.inet1.....its a broadband (ethernet) connection.

my previous post


http://www.linuxquestions.org/questi...d.php?t=576751


i actually thought it helped, but it didn't....
i'm really confused....please someone do guide me...

XavierP 09-02-2007 02:11 PM

Since your new thread really follows on from the old thread, I have merged them both to keep the flow of discussion.

acummings 09-02-2007 07:42 PM

Quote:

airtel broadand connection through ethernet(static ip)
Quote:

able to ping 192.168.1.2(my ip address) but not my gateway. and also i've set the parameters (ip,gateway,nameserver etc)as set on windows
So, you've got a static ip which is evidently held by your broadband device (because above you differentiate between gateway and 192.168.1.2)

I assume gateway is your broadband device and 192.168.1.2 is your dual boot Win/Slack_11.0 box? And that gateway is a router and that gateway also holds your internet side ip which is an internet ip (192.168.1.2 is not an internet ip, it's a local use only lan ip).

If that is so, what I'm wondering here is if your broadband device ID's according to OS (and perhaps mac address) then (within the broadband device itself assigns an id to that). Such held id by the broadband device, this id would need to be cleared and re assigned due to when a different operating system on your computer is booted.

I use (SBC_yahoo, now att_yahoo) a 2wire home gateway. This 2wire is a combo of dsl modem, router, amd firewall. It holds my dynamic ip address. And it "ID's" my computers on my lan (uses the arp protocol, it's always arping my lan network). A dual boot box on my lan would get two different ID's held in my 2wire gateway. IOW in one OS is one ID, in another OS is another ID. IOW, 2wire treats this scenario as if it's two different computers even though the mac address remains the same.

This is no problem on the 2wire since the 2wire can accomodate many computers.

Can you logon to your broadband device via a web page?

My 2wire can do so (logon) and I can clear out the afore mentioned "ID's" so that the 2wire can start afresh.

If this might be the issue in your situation, then it is a matter of clearing "ID" from your broadband device so the device can create "ID" for Slackware.

This is given if your broadband device holds only one "ID" or is otherwise full of ID's and needs clearing so as to start afresh in order to be able to create ("ID" for Slackware).

If it is so, then what do the other OS do to get ID cleared from broadband unit (that perhaps Slackware isn't doing).

--
Alan


All times are GMT -5. The time now is 07:21 PM.