LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-13-2006, 09:40 PM   #1
delfick
LQ Newbie
 
Registered: Jan 2006
Posts: 29

Rep: Reputation: 15
log straight into windows network from ubuntu


hello

is it possible to log straight into a windows network from a computer using ubuntu dapper?

I ask because currently at my school (in my cisco class) we are playing around with linux....the problem i have is that to get apt to work i need the computer technician to do something with the server (that creates a security risk or something cause then the anyone has access to the schools internet and have no restrictions and so must be disabled upon finishing using the computer which is quite a hassle if we want to play around with it).

The reason for this is that we don't know how to log in as a specific user for apt so ... is it possible to log straight into the network in the login screen like is done on the normal windows school computers instead of logging into the local user on the machine so that subsequent use of the internet (through apt, wget or firefox or whatever is done under the user who logged in)

thnx
 
Old 08-14-2006, 03:53 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You'll have to be assigned an ip address by the system admin and then setup the networking. Once that is done you just need to use apt. If they use dhcp then plug the box into the network and set networking to pick up the address via dhcp. Networking is configured through /etc/network/intefaces on most Debian based distros.
 
Old 08-15-2006, 01:04 AM   #3
delfick
LQ Newbie
 
Registered: Jan 2006
Posts: 29

Original Poster
Rep: Reputation: 15
yes...but how do i log into the network under my username on the ubuntu computer?

and how is /etc/network/interfaces able to help me?
 
Old 08-15-2006, 02:19 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally Posted by delfick
yes...but how do i log into the network under my username on the ubuntu computer?
When you have connected the network cable as root do ifup and you should get a login request
Quote:
and how is /etc/network/interfaces able to help me?
This file configures how you connect to the network. If you are using static addressing it contains your assigned ip address and gateway. If you are using dhcp then it states that.

Last edited by TigerOC; 08-16-2006 at 02:39 AM.
 
Old 08-15-2006, 11:02 PM   #5
delfick
LQ Newbie
 
Registered: Jan 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TigerOC
When you have connected the network cable as root do ifup and you should get a login request
going into termianl and typing "sudo ifup" does not give me a login request... :'( ...what do i add to that command so it does?

thnx
 
Old 08-16-2006, 02:51 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Please can you give more detail as to how the sysadmin has setup the network. Is the connection routed through firmware router or a software based router (i.e. a PC) and what OS is the network being run on?
What is the output of the root command (consol) route? Does this show an ip address and a gateway address (UG)?
Normally, once a system is hooked to a network via dhcp it will pickup a leased ip address and a gateway ip address. In order to get out on to the Internet the device which is running the gateway must either allow direct access to the Internet (a firmware router) or in the case of PC be running masquerading (Internet sharing). Normally one does not have to login since one is not requesting access to the PC but merely routing through the network on the PC. The PC merely identifies the requests from requesting ip address and returns responses matching that ip to the requesting address (masquerading).

Last edited by TigerOC; 08-16-2006 at 02:57 AM.
 
Old 08-16-2006, 08:52 PM   #7
delfick
LQ Newbie
 
Registered: Jan 2006
Posts: 29

Original Poster
Rep: Reputation: 15
FIrmware Router using windows 2003 server....

"route" gives me
Quote:
cisco@cisco-desktop:/$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.59.108.0 * 255.255.252.0 U 0 0 0 eth0
default 10.59.108.1 0.0.0.0 UG 0 0 0 eth0
also doing a sudo apt-get upgrade gives me this error for each repository

Quote:
407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )
 
Old 08-17-2006, 02:17 AM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
This howto shows you how to use your browser behind an ISA proxy.
WRT to connecting using apt I would suggest asking this question in the network section. I have not worked with MS proxy servers and have no idea how you would authenticate using apt.
 
Old 08-17-2006, 06:04 AM   #9
delfick
LQ Newbie
 
Registered: Jan 2006
Posts: 29

Original Poster
Rep: Reputation: 15
the browser works because when i open firefox it asks for my username and passsword for the network which upon entering i can use the interent...it's just apt that doesn't ask for a username and password so that it may have access to the internet....

also.... i thought this was the network section......
 
Old 08-17-2006, 06:22 AM   #10
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I think you need to phrase the question differently because what you are trying to achieve is to get authority to use the proxy server on 2003 for apt. This is not really access to the local network (LAN) but access to the WAN. I did a Google search and found nothing.
 
Old 08-17-2006, 10:42 AM   #11
delfick
LQ Newbie
 
Registered: Jan 2006
Posts: 29

Original Poster
Rep: Reputation: 15
oh...k then

i thought that to get authority or autheniticate the proxy i needed to log onto the network.......
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
network printer: Ubuntu -> Windows 2000 ursinus Linux - Networking 1 04-29-2006 09:15 AM
Ubuntu not visible on Windows Network ctkroeker Ubuntu 4 03-21-2006 03:52 PM
Ubuntu-adding To My Windows Network Moose3565 Linux - Networking 1 01-27-2006 03:47 AM
ubuntu will not see windows network pc guardianx Linux - Networking 3 08-09-2005 01:38 PM
Straight answers on network card install Dicephalous Linux - Networking 0 12-25-2001 08:37 PM


All times are GMT -5. The time now is 08:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration